You are here

public function ContentTypeConfigurationDeleteForm::getCancelText in Node Revision Delete 8

Returns a caption for the link which cancels the action.

Return value

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

Overrides ConfirmFormBase::getCancelText

File

src/Form/ContentTypeConfigurationDeleteForm.php, line 91

Class

ContentTypeConfigurationDeleteForm
Provides a content type configuration deletion confirmation form.

Namespace

Drupal\node_revision_delete\Form

Code

public function getCancelText() {
  return $this
    ->t('Cancel');
}