function ContextDelete::buildForm

Same name in other branches
  1. 4.0.x src/Form/ContextDelete.php \Drupal\ctools\Form\ContextDelete::buildForm()

Overrides ConfirmFormBase::buildForm

File

src/Form/ContextDelete.php, line 71

Class

ContextDelete
Provides a form for deleting an contexts and relationships.

Namespace

Drupal\ctools\Form

Code

public function buildForm(array $form, FormStateInterface $form_state, $tempstore_id = NULL, $machine_name = NULL, $context_id = NULL) {
    $this->tempstore_id = $tempstore_id;
    $this->machine_name = $machine_name;
    $this->context_id = $context_id;
    return parent::buildForm($form, $form_state);
}