public function ConditionalFieldDeleteFormTab::getCancelUrl in Conditional Fields 4.x
Same name and namespace in other branches
- 8 src/Form/ConditionalFieldDeleteFormTab.php \Drupal\conditional_fields\Form\ConditionalFieldDeleteFormTab::getCancelUrl()
Returns the route to go to if the user cancels the action.
Return value
\Drupal\Core\Url A URL object.
Overrides ConditionalFieldDeleteForm::getCancelUrl
1 call to ConditionalFieldDeleteFormTab::getCancelUrl()
- ConditionalFieldDeleteFormTab::submitForm in src/
Form/ ConditionalFieldDeleteFormTab.php - Form submission handler.
File
- src/
Form/ ConditionalFieldDeleteFormTab.php, line 32
Class
- ConditionalFieldDeleteFormTab
- A conditional field delete form designed to be displayed as a tab.
Namespace
Drupal\conditional_fields\FormCode
public function getCancelUrl() {
return Url::fromRoute('conditional_fields.tab' . "." . $this->entity_type, [
"{$this->entity_type}_type" => $this->bundle,
]);
}