You are here

public function PanelizerWizardContextConfigure::contextExists in Panelizer 8.3

Same name and namespace in other branches
  1. 8.5 src/Form/PanelizerWizardContextConfigure.php \Drupal\panelizer\Form\PanelizerWizardContextConfigure::contextExists()
  2. 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

PanelizerWizardContextConfigure

Namespace

Drupal\panelizer\Form

Code

public function contextExists($value, $element, $form_state) {
  return FALSE;
}