public function ConditionalFieldDeleteForm::getCancelUrl in Conditional Fields 8
Same name and namespace in other branches
- 4.x src/Form/ConditionalFieldDeleteForm.php \Drupal\conditional_fields\Form\ConditionalFieldDeleteForm::getCancelUrl()
Returns the route to go to if the user cancels the action.
Return value
\Drupal\Core\Url A URL object.
Overrides ConfirmFormInterface::getCancelUrl
1 call to ConditionalFieldDeleteForm::getCancelUrl()
- ConditionalFieldDeleteForm::submitForm in src/
Form/ ConditionalFieldDeleteForm.php - Form submission handler.
1 method overrides ConditionalFieldDeleteForm::getCancelUrl()
- ConditionalFieldDeleteFormTab::getCancelUrl in src/
Form/ ConditionalFieldDeleteFormTab.php - Returns the route to go to if the user cancels the action.
File
- src/
Form/ ConditionalFieldDeleteForm.php, line 35
Class
- ConditionalFieldDeleteForm
- Class ConditionalFieldDeleteForm.
Namespace
Drupal\conditional_fields\FormCode
public function getCancelUrl() {
return Url::fromRoute('conditional_fields.conditions_list', [
'entity_type' => $this->entityType,
'bundle' => $this->bundle,
]);
}