You are here

public function LocalTaskUnassignForm::getConfirmText in Translation Management Tool 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

translators/tmgmt_local/src/Form/LocalTaskUnassignForm.php, line 35

Class

LocalTaskUnassignForm
Unassign task confirmation form.

Namespace

Drupal\tmgmt_local\Form

Code

public function getConfirmText() {
  return t('Unassign');
}