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