public function StaticContextConfigure::contextExists in Page Manager 8.4
Same name and namespace in other branches
- 8 page_manager_ui/src/Form/StaticContextConfigure.php \Drupal\page_manager_ui\Form\StaticContextConfigure::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
- page_manager_ui/
src/ Form/ StaticContextConfigure.php, line 102
Class
Namespace
Drupal\page_manager_ui\FormCode
public function contextExists($value, $element, $form_state) {
return FALSE;
}