You are here

public function Delete::getConfirmText in SimpleAds 8

Same name in this branch
  1. 8 src/Form/Groups/Delete.php \Drupal\simpleads\Form\Groups\Delete::getConfirmText()
  2. 8 src/Form/Ads/Delete.php \Drupal\simpleads\Form\Ads\Delete::getConfirmText()
  3. 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\Ads

Code

public function getConfirmText() {
  return $this
    ->t('Delete Advertisement');
}