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