public function ConfirmDeleteForm::buildForm in Hashtags 8
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 ConfirmFormBase::buildForm
File
- src/
Form/ ConfirmDeleteForm.php, line 63
Class
Namespace
Drupal\hashtags\FormCode
public function buildForm(array $form, FormStateInterface $form_state, $entity_type = '', $bundle = '') {
$this->entity_type = $entity_type;
$this->bundle = $bundle;
return parent::buildForm($form, $form_state);
}