public function StaticContextDeleteForm::buildForm in Page Manager 8
Same name and namespace in other branches
- 8.4 page_manager_ui/src/Form/StaticContextDeleteForm.php \Drupal\page_manager_ui\Form\StaticContextDeleteForm::buildForm()
Form constructor.
Parameters
array $form: An associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
Return value
array The form structure.
Overrides ContextDelete::buildForm
File
- page_manager_ui/
src/ Form/ StaticContextDeleteForm.php, line 69 - Contains \Drupal\page_manager_ui\Form\StaticContextDeleteForm.
Class
- StaticContextDeleteForm
- Provides a form for deleting an access condition.
Namespace
Drupal\page_manager_ui\FormCode
public function buildForm(array $form, FormStateInterface $form_state, $tempstore_id = NULL, $machine_name = NULL, $context_id = NULL, $variant_machine_name = NULL) {
$this->variantMachineName = $variant_machine_name;
return parent::buildForm($form, $form_state, $tempstore_id, $machine_name, $context_id);
}