public function AdminUninstallForm::buildForm in Private Message 8
Same name and namespace in other branches
- 8.2 src/Form/AdminUninstallForm.php \Drupal\private_message\Form\AdminUninstallForm::buildForm()
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/ AdminUninstallForm.php, line 59
Class
- AdminUninstallForm
- Definest he admin uninstall form for the Private Message module.
Namespace
Drupal\private_message\FormCode
public function buildForm(array $form, FormStateInterface $form_state) {
$form['#attached']['library'][] = 'private_message/uninstall_page';
return parent::buildForm($form, $form_state);
}