You are here

public function MakeDefaultForm::getConfirmText in Consumers 8

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/Entity/Form/MakeDefaultForm.php, line 36

Class

MakeDefaultForm

Namespace

Drupal\consumers\Entity\Form

Code

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