function layout_builder_restrictions_form_entity_view_display_edit_form_alter in Layout Builder Restrictions 8
Same name and namespace in other branches
- 8.2 layout_builder_restrictions.module \layout_builder_restrictions_form_entity_view_display_edit_form_alter()
Implements hook_form_FORM_ID_alter() for the entity view display edit form.
File
- ./
layout_builder_restrictions.module, line 96 - Module file for layout builder restrictions.
Code
function layout_builder_restrictions_form_entity_view_display_edit_form_alter(&$form, FormStateInterface $form_state, $form_id) {
\Drupal::classResolver(FormAlter::class)
->alterEntityViewDisplayForm($form, $form_state, $form_id);
}