public function PanelizerWizardContextConfigure::contextExists in Panelizer 8.3
Same name and namespace in other branches
- 8.5 src/Form/PanelizerWizardContextConfigure.php \Drupal\panelizer\Form\PanelizerWizardContextConfigure::contextExists()
- 8.4 src/Form/PanelizerWizardContextConfigure.php \Drupal\panelizer\Form\PanelizerWizardContextConfigure::contextExists()
Custom "exists" logic for the context to be created.
Parameters
string $value: The name of the context.
$element: The machine_name element
\Drupal\Core\Form\FormStateInterface $form_state: The form state.
Return value
bool Return true if a context of this name exists.
Overrides ContextConfigure::contextExists
File
- src/
Form/ PanelizerWizardContextConfigure.php, line 81
Class
Namespace
Drupal\panelizer\FormCode
public function contextExists($value, $element, $form_state) {
return FALSE;
}