protected function PanelizerWizardContextForm::isEditableContext in Panelizer 8.5
Same name and namespace in other branches
- 8.3 src/Form/PanelizerWizardContextForm.php \Drupal\panelizer\Form\PanelizerWizardContextForm::isEditableContext()
- 8.4 src/Form/PanelizerWizardContextForm.php \Drupal\panelizer\Form\PanelizerWizardContextForm::isEditableContext()
Parameters
mixed $cached_values:
string $row:
Return value
bool
Overrides ManageContext::isEditableContext
File
- src/
Form/ PanelizerWizardContextForm.php, line 132
Class
- PanelizerWizardContextForm
- Simple wizard step form.
Namespace
Drupal\panelizer\FormCode
protected function isEditableContext($cached_values, $row) {
if (!isset($cached_values['contexts'][$row])) {
return FALSE;
}
$context = $cached_values['contexts'][$row];
return !empty($context['value']);
}