You are here

public function MediaBulkConfigDeleteForm::getConfirmText in Media Bulk Upload 8

Returns a caption for the button that confirms the action.

Return value

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

Overrides EntityConfirmFormBase::getConfirmText

File

src/Form/MediaBulkConfigDeleteForm.php, line 52

Class

MediaBulkConfigDeleteForm
Builds the form to delete Media Bulk Config entities.

Namespace

Drupal\media_bulk_upload\Form

Code

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