You are here

public function FeedUnlockForm::getConfirmText in Feeds 8.3

Returns a caption for the button that confirms the action.

Return value

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

Overrides ContentEntityConfirmFormBase::getConfirmText

File

src/Form/FeedUnlockForm.php, line 30

Class

FeedUnlockForm
Provides a form for unlocking a feed.

Namespace

Drupal\feeds\Form

Code

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