You are here

public function AssetGroupActionForm::getConfirmText in farmOS 2.x

Returns a caption for the button that confirms the action.

Return value

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

Overrides ConfirmFormBase::getConfirmText

File

modules/asset/group/src/Form/AssetGroupActionForm.php, line 122

Class

AssetGroupActionForm
Provides an asset group confirmation form.

Namespace

Drupal\farm_group\Form

Code

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