function socialbase_form_node_layout_builder_form_alter in Open Social 8.8
Same name and namespace in other branches
- 8.9 themes/socialbase/includes/form.inc \socialbase_form_node_layout_builder_form_alter()
Implements hook_form_FORM_ID_alter().
File
- themes/
socialbase/ includes/ form.inc, line 504 - The form inc file for the Social base theme.
Code
function socialbase_form_node_layout_builder_form_alter(&$form, FormStateInterface $form_state, $form_id) {
// Make the layout builder specific styling available.
$form['#attached']['library'][] = 'socialbase/form--toolbar';
}