You are here

public function TimeTrackingTypeDeleteForm::getConfirmText in Drupal PM (Project Management) 4.x

Returns a caption for the button that confirms the action.

Return value

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

Overrides EntityConfirmFormBase::getConfirmText

File

modules/pm_timetracking/src/Form/TimeTrackingTypeDeleteForm.php, line 31

Class

TimeTrackingTypeDeleteForm
Builds the form to delete Time tracking type entities.

Namespace

Drupal\pm_timetracking\Form

Code

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