function gatsby_instantpreview_config_schema_info_alter in Gatsby Live Preview & Incremental Builds 2.0.x
Implements hook_config_schema_info_alter().
File
- modules/
gatsby_instantpreview/ gatsby_instantpreview.module, line 11 - Contains gatsby_instantpreview.module.
Code
function gatsby_instantpreview_config_schema_info_alter(&$definitions) {
$definitions['gatsby.settings']['mapping']['secret_key'] = [
'type' => 'string',
'label' => t('Gatsby Secret Key'),
'nullable' => TRUE,
];
}