You are here

public function ProviderDeleteForm::getConfirmText in oEmbed 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/ProviderDeleteForm.php, line 35
Contains \Drupal\oembed\Form\ProviderDeleteForm.

Class

ProviderDeleteForm
Builds the form to delete Provider entities.

Namespace

Drupal\oembed\Form

Code

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