function gatsby_fastbuilds_form_gatsby_admin_form_alter in Gatsby Live Preview & Incremental Builds 8
Same name and namespace in other branches
- 2.0.x modules/gatsby_fastbuilds/gatsby_fastbuilds.module \gatsby_fastbuilds_form_gatsby_admin_form_alter()
Implements hook_form_id_alter().
File
- modules/
gatsby_fastbuilds/ gatsby_fastbuilds.module, line 110 - Contains gatsby_fastbuilds.module.
Code
function gatsby_fastbuilds_form_gatsby_admin_form_alter(&$form, FormStateInterface $form_state, $form_id) {
// Add some additional information to the preview_entity_types description.
$description = t('@existing These entities will also be logged and available for Gatsby Fastbuilds.', [
'@existing' => $form['preview_entity_types']['#description'],
]);
$form['preview_entity_types']['#description'] = $description;
}