1 language_layout_access.inc | LanguageLayoutAccess::formSubmit($form, &$form_state) |
Submit handler for the settings form for this access item.
Overrides LayoutAccess::formSubmit
File
- core/
modules/ layout/ plugins/ access/ language_layout_access.inc, line 75 - Plugin to provide access control based upon the current site language.
Class
Code
function formSubmit($form, &$form_state) {
parent::formSubmit($form, $form_state);
$this->settings['language'] = array_keys(array_filter($form_state['values']['language']));
}