public function Delete::getConfirmText in SimpleAds 8
Same name in this branch
- 8 src/Form/Groups/Delete.php \Drupal\simpleads\Form\Groups\Delete::getConfirmText()
- 8 src/Form/Ads/Delete.php \Drupal\simpleads\Form\Ads\Delete::getConfirmText()
- 8 src/Form/Campaigns/Delete.php \Drupal\simpleads\Form\Campaigns\Delete::getConfirmText()
Returns a caption for the button that confirms the action.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.
Overrides ConfirmFormBase::getConfirmText
File
- src/Form/ Ads/ Delete.php, line 48 
Class
- Delete
- Delete advertisement form.
Namespace
Drupal\simpleads\Form\AdsCode
public function getConfirmText() {
  return $this
    ->t('Delete Advertisement');
}