function ContextConfigure::contextExists

Same name in other branches
  1. 8.x-3.x src/Form/ContextConfigure.php \Drupal\ctools\Form\ContextConfigure::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.

File

src/Form/ContextConfigure.php, line 291

Class

ContextConfigure
Configure Context Form.

Namespace

Drupal\ctools\Form

Code

public abstract function contextExists($value, $element, $form_state);