Skip to content

Commit

Permalink
fix(gatsby-source-drupal): add placeholder style name plugin option t…
Browse files Browse the repository at this point in the history
…o the options schema (#35644)

add placeholder style name plugin option to the options schema
  • Loading branch information
TylerBarnes committed May 12, 2022
1 parent 1731cf1 commit 6fd8bf7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/gatsby-source-drupal/src/gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -847,6 +847,9 @@ exports.pluginOptionsSchema = ({ Joi }) =>
translatableEntities: Joi.array().items(Joi.string()).required(),
nonTranslatableEntities: Joi.array().items(Joi.string()).required(),
}),
placeholderStyleName: Joi.string().description(
`The machine name of the Gatsby Image CDN placeholder style in Drupal. The default is "placeholder".`
),
})

exports.onCreateDevServer = async ({ app }) => {
Expand Down

0 comments on commit 6fd8bf7

Please sign in to comment.