
Company News
Andrew Becherer Joins Socket as Chief Information Security Officer
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.
@gatsby-themes/drupal
Advanced tools
The drupal theme sets up the configuration for drupal
This is also based on the Gatsby DEMO Drupal CMS site for recipes
It takes care of not only the drupal gatsby plugin configuration but also sets up all the queries that are needed for the building the recipe app.
Currently there are two template page queries available
As part of this we also have proptype definitions that can be imported into the template that wants to use the query. In the above mentioned GraphQL queries the prop type definition files
import { AllRecipesPropTypes } from '@gatsby-themes/drupal';
IndexPage.propTypes = {
data: AllRecipesPropTypes, // Query prop types
theme: PropTypes.object.isRequired
};
@gatsby-themes/drupalyarn add `@gatsby-themes/drupal`
gatsby-config.js file.const drupalConfig = require('./data/drupalConfig.js');
module.exports = {
plugins: [
{
resolve: '@gatsby-themes/drupal',
options: {
...drupalConfig
}
}
]
};
data/drupalConfig.jsmodule.exports = {
baseUrl: '<add drupal json api server url>',
apiBase: '<api or json>'
};
FAQs
Drupal Theme for Gatsby
The npm package @gatsby-themes/drupal receives a total of 12 weekly downloads. As such, @gatsby-themes/drupal popularity was classified as not popular.
We found that @gatsby-themes/drupal demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.

Company News
Replit is integrating Socket Firewall into its AI-powered development experience to help protect builders from malicious open source packages.

Security News
npm confirmed a tooling bug incorrectly marked several one-character packages as security holders and said it was working on a rollback.