abstract public function ContextConfigure::contextExists in Chaos Tool Suite (ctools) 8.3
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.
File
- src/
Form/ ContextConfigure.php, line 266
Class
Namespace
Drupal\ctools\FormCode
public abstract function contextExists($value, $element, $form_state);