You are here

protected function PanelizerWizardContextConfigure::disableMachineName in Panelizer 8.3

Same name and namespace in other branches
  1. 8.5 src/Form/PanelizerWizardContextConfigure.php \Drupal\panelizer\Form\PanelizerWizardContextConfigure::disableMachineName()
  2. 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 88

Class

PanelizerWizardContextConfigure

Namespace

Drupal\panelizer\Form

Code

protected function disableMachineName($cached_values, $machine_name) {
  return !empty($cached_values['contexts'][$machine_name]);
}