protected function PanelizerWizardContextConfigure::disableMachineName in Panelizer 8.5
Same name and namespace in other branches
- 8.3 src/Form/PanelizerWizardContextConfigure.php \Drupal\panelizer\Form\PanelizerWizardContextConfigure::disableMachineName()
- 8.4 src/Form/PanelizerWizardContextConfigure.php \Drupal\panelizer\Form\PanelizerWizardContextConfigure::disableMachineName()
Determines if the machine_name should be disabled.
Parameters
$cached_values:
Return value
bool
Overrides ContextConfigure::disableMachineName
File
- src/
Form/ PanelizerWizardContextConfigure.php, line 73
Class
Namespace
Drupal\panelizer\FormCode
protected function disableMachineName($cached_values, $machine_name) {
return !empty($cached_values['contexts'][$machine_name]);
}