public function PollItemsDeleteForm::getConfirmText in Poll 8
Returns a caption for the button that confirms the action.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.
Overrides ContentEntityConfirmFormBase::getConfirmText
File
- src/
Form/ PollItemsDeleteForm.php, line 31
Class
- PollItemsDeleteForm
- Provides a deletion confirmation form for items that belong to a feed.
Namespace
Drupal\poll\FormCode
public function getConfirmText() {
return $this
->t('Delete items');
}