You are here

public function ChannelDeleteForm::getConfirmText in Entity Share 8

Same name and namespace in other branches
  1. 8.3 modules/entity_share_server/src/Form/ChannelDeleteForm.php \Drupal\entity_share_server\Form\ChannelDeleteForm::getConfirmText()
  2. 8.2 modules/entity_share_server/src/Form/ChannelDeleteForm.php \Drupal\entity_share_server\Form\ChannelDeleteForm::getConfirmText()

Returns a caption for the button that confirms the action.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.

Overrides EntityConfirmFormBase::getConfirmText

File

modules/entity_share_server/src/Form/ChannelDeleteForm.php, line 31

Class

ChannelDeleteForm
Builds the form to delete Channel entities.

Namespace

Drupal\entity_share_server\Form

Code

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