You are here

public function ConditionDelete::getCancelText in Chaos Tool Suite (ctools) 8.3

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/ConditionDelete.php, line 167

Class

ConditionDelete

Namespace

Drupal\ctools\Form

Code

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