public function FieldGroupDeleteForm::getCancelUrl in Field Group 8.3
Same name and namespace in other branches
- 8 src/Form/FieldGroupDeleteForm.php \Drupal\field_group\Form\FieldGroupDeleteForm::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 FieldGroupDeleteForm::getCancelUrl()
- FieldGroupDeleteForm::submitForm in src/
Form/ FieldGroupDeleteForm.php - Form submission handler.
File
- src/
Form/ FieldGroupDeleteForm.php, line 122
Class
- FieldGroupDeleteForm
- Provides a form for removing a fieldgroup from a bundle.
Namespace
Drupal\field_group\FormCode
public function getCancelUrl() {
return FieldgroupUi::getFieldUiRoute($this->fieldGroup);
}