gatsby_instantpreview.module in Gatsby Live Preview & Incremental Builds 2.0.x
Same filename and directory in other branches
Contains gatsby_instantpreview.module.
File
modules/gatsby_instantpreview/gatsby_instantpreview.moduleView source
<?php
/**
* @file
* Contains gatsby_instantpreview.module.
*/
/**
* Implements hook_config_schema_info_alter().
*/
function gatsby_instantpreview_config_schema_info_alter(&$definitions) {
$definitions['gatsby.settings']['mapping']['secret_key'] = [
'type' => 'string',
'label' => t('Gatsby Secret Key'),
'nullable' => TRUE,
];
}
Functions
Name | Description |
---|---|
gatsby_instantpreview_config_schema_info_alter | Implements hook_config_schema_info_alter(). |