You are here

public function DeleteMultiple::getConfirmText in Media entity 8

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/DeleteMultiple.php, line 89

Class

DeleteMultiple
Provides a media deletion confirmation form.

Namespace

Drupal\media_entity\Form

Code

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