1 entity_id_layout_access.inc | EntityIDLayoutAccess::formSubmit($form, &$form_state) |
Submit handler for the settings form for this access item.
Overrides LayoutAccessNegatable::formSubmit
File
- core/
modules/ layout/ plugins/ access/ entity_id_layout_access.inc, line 74 - Plugin to provide access control based upon entity ID.
Class
- EntityIDLayoutAccess
- @file Plugin to provide access control based upon entity ID.
Code
function formSubmit($form, &$form_state) {
parent::formSubmit($form, $form_state);
$this->settings['entity_id'] = $form_state['values']['entity_id'];
}