You are here

public function AssetAddLogActionForm::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/core/log/src/Form/AssetAddLogActionForm.php, line 120

Class

AssetAddLogActionForm
Provides an asset add log confirmation form.

Namespace

Drupal\farm_log\Form

Code

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