public function StaticContextConfigure::buildForm in Page Manager 8
Same name and namespace in other branches
- 8.4 page_manager_ui/src/Form/StaticContextConfigure.php \Drupal\page_manager_ui\Form\StaticContextConfigure::buildForm()
Overridden to set the variantMachineName.
Overrides ContextConfigure::buildForm
File
- page_manager_ui/
src/ Form/ StaticContextConfigure.php, line 68 - Contains \Drupal\page_manager_ui\Form\StaticContextConfigure.
Class
Namespace
Drupal\page_manager_ui\FormCode
public function buildForm(array $form, FormStateInterface $form_state, $context_id = NULL, $tempstore_id = NULL, $machine_name = NULL, $variant_machine_name = NULL) {
$this->variantMachineName = $variant_machine_name;
return parent::buildForm($form, $form_state, $context_id, $tempstore_id, $machine_name);
}