public function Delete::getCancelText in SimpleAds 8
Same name in this branch
- 8 src/Form/Groups/Delete.php \Drupal\simpleads\Form\Groups\Delete::getCancelText()
- 8 src/Form/Ads/Delete.php \Drupal\simpleads\Form\Ads\Delete::getCancelText()
- 8 src/Form/Campaigns/Delete.php \Drupal\simpleads\Form\Campaigns\Delete::getCancelText()
Returns a caption for the link which cancels the action.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form cancellation text.
Overrides ConfirmFormBase::getCancelText
File
- src/
Form/ Groups/ Delete.php, line 55
Class
- Delete
- Delete advertisement form.
Namespace
Drupal\simpleads\Form\GroupsCode
public function getCancelText() {
return $this
->t('Cancel');
}