public function AddToHeadDeleteProfileForm::buildForm in Add To Head 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/ AddToHeadDeleteProfileForm.php, line 16
Class
Namespace
Drupal\add_to_head\FormCode
public function buildForm(array $form, FormStateInterface $form_state, array $profile = array()) {
$this->profile = $profile;
return parent::buildForm($form, $form_state);
}