public function ConfigTestDeleteForm::buildForm

Implements \Drupal\Drupal\Core\Form\ConfirmFormBase::buildForm().

Parameters

\Drupal\config_test\ConfigTestInterface $config_test: (optional) The ConfigTestInterface object to delete.

Overrides ConfirmFormBase::buildForm

File

drupal/core/modules/config/tests/config_test/lib/Drupal/config_test/Form/ConfigTestDeleteForm.php, line 59
Contains \Drupal\config_test\Form\ConfigTestDeleteForm.

Class

ConfigTestDeleteForm
Delete confirmation form for config_test entities.

Namespace

Drupal\config_test\Form

Code

public function buildForm(array $form, array &$form_state, ConfigTestInterface $config_test = NULL) {
  $this->configTest = $config_test;
  return parent::buildForm($form, $form_state);
}