You are here

public function StaticContextConfigure::buildForm in Page Manager 8.4

Same name and namespace in other branches
  1. 8 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 65

Class

StaticContextConfigure

Namespace

Drupal\page_manager_ui\Form

Code

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);
}