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
Namespace
Drupal\consumers\Entity\FormCode
public function getConfirmText() {
return $this
->t('Make Default');
}