public function TwitterAccountsDeleteForm::buildForm in Tweet Feed 4.x
Same name and namespace in other branches
- 8.3 src/Form/TwitterAccountsDeleteForm.php \Drupal\tweet_feed\Form\TwitterAccountsDeleteForm::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/ TwitterAccountsDeleteForm.php, line 28
Class
- TwitterAccountsDeleteForm
- Confirmation of Twitter API deletion.
Namespace
Drupal\tweet_feed\FormCode
public function buildForm(array $form, FormStateInterface $form_state, string $account_machine_name = NULL) {
$this->account_machine_name = $account_machine_name;
$form = parent::buildForm($form, $form_state);
return $form;
}