ConfirmFormInterface::getDescription

public ConfirmFormInterface::getDescription() Returns additional text to display as a description. Return value string The form description. File core/lib/Drupal/Core/Form/ConfirmFormInterface.php, line 32 Class ConfirmFormInterface Defines the behavior a confirmation form. Namespace Drupal\Core\Form Code public function getDescription();

ConfirmFormInterface::getConfirmText

public ConfirmFormInterface::getConfirmText() Returns a caption for the button that confirms the action. Return value string The form confirmation text. File core/lib/Drupal/Core/Form/ConfirmFormInterface.php, line 40 Class ConfirmFormInterface Defines the behavior a confirmation form. Namespace Drupal\Core\Form Code public function getConfirmText();

ConfirmFormInterface::getCancelUrl

public ConfirmFormInterface::getCancelUrl() Returns the route to go to if the user cancels the action. Return value \Drupal\Core\Url A URL object. File core/lib/Drupal/Core/Form/ConfirmFormInterface.php, line 24 Class ConfirmFormInterface Defines the behavior a confirmation form. Namespace Drupal\Core\Form Code public function getCancelUrl();

ConfirmFormInterface::getCancelText

public ConfirmFormInterface::getCancelText() Returns a caption for the link which cancels the action. Return value string The form cancellation text. File core/lib/Drupal/Core/Form/ConfirmFormInterface.php, line 48 Class ConfirmFormInterface Defines the behavior a confirmation form. Namespace Drupal\Core\Form Code public function getCancelText();

ConfirmFormInterface

Defines the behavior a confirmation form. Hierarchy interface \Drupal\Core\Form\FormInterfaceinterface \Drupal\Core\Form\ConfirmFormInterface File core/lib/Drupal/Core/Form/ConfirmFormInterface.php, line 8 Namespace Drupal\Core\Form Members Name Modifiers Type Description ConfirmFormInterface::getCancelText public function Returns a caption for the link which cancels the action. ConfirmFormInterface::getCancelUrl public function Returns the route to go to if the

ConfirmFormHelper::buildCancelLink

public static ConfirmFormHelper::buildCancelLink(ConfirmFormInterface $form, Request $request) Builds the cancel link for a confirmation form. Parameters \Drupal\Core\Form\ConfirmFormInterface $form: The confirmation form. \Symfony\Component\HttpFoundation\Request $request: The current request. Return value array The link render array for the cancel form. File core/lib/Drupal/Core/Form/ConfirmFormHelper.php, line 25 Class ConfirmFormHelper Provides common functionality to confirmation fo

ConfirmFormHelper

Provides common functionality to confirmation forms. Hierarchy class \Drupal\Core\Form\ConfirmFormHelper File core/lib/Drupal/Core/Form/ConfirmFormHelper.php, line 12 Namespace Drupal\Core\Form Members Name Modifiers Type Description ConfirmFormHelper::buildCancelLink public static function Builds the cancel link for a confirmation form.

ConfirmFormBase::getFormName

public ConfirmFormBase::getFormName() Returns the internal name used to refer to the confirmation item. Return value string The internal form name. Overrides ConfirmFormInterface::getFormName File core/lib/Drupal/Core/Form/ConfirmFormBase.php, line 34 Class ConfirmFormBase Provides an generic base class for a confirmation form. Namespace Drupal\Core\Form Code public function getFormName() { return 'confirm'; }

ConfirmFormBase::getDescription

public ConfirmFormBase::getDescription() Returns additional text to display as a description. Return value string The form description. Overrides ConfirmFormInterface::getDescription File core/lib/Drupal/Core/Form/ConfirmFormBase.php, line 13 Class ConfirmFormBase Provides an generic base class for a confirmation form. Namespace Drupal\Core\Form Code public function getDescription() { return $this->t('This action cannot be undone.'); }

ConfirmFormBase::getConfirmText

public ConfirmFormBase::getConfirmText() Returns a caption for the button that confirms the action. Return value string The form confirmation text. Overrides ConfirmFormInterface::getConfirmText File core/lib/Drupal/Core/Form/ConfirmFormBase.php, line 20 Class ConfirmFormBase Provides an generic base class for a confirmation form. Namespace Drupal\Core\Form Code public function getConfirmText() { return $this->t('Confirm'); }