You are here

public function ContentHubFilterDeleteForm::getConfirmText in Acquia Content Hub 8

Returns a caption for the button that confirms the action.

Return value

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

Overrides EntityConfirmFormBase::getConfirmText

File

acquia_contenthub_subscriber/src/Form/ContentHubFilterDeleteForm.php, line 31

Class

ContentHubFilterDeleteForm
Builds the form to delete a ContentHubFilter.

Namespace

Drupal\acquia_contenthub_subscriber\Form

Code

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