function RequiredContextDelete::getParentRouteInfo

Same name in other branches
  1. 8.x-3.x src/Form/RequiredContextDelete.php \Drupal\ctools\Form\RequiredContextDelete::getParentRouteInfo()

Document the route name and parameters for redirect after submission.

Parameters

mixed $cached_values: The cached values.

Return value

array In the format of return [ 'route.name', ['machine_name' => $this->machine_name,'step' => 'step_name], ];

2 calls to RequiredContextDelete::getParentRouteInfo()
RequiredContextDelete::getCancelUrl in src/Form/RequiredContextDelete.php
Returns the route to go to if the user cancels the action.
RequiredContextDelete::submitForm in src/Form/RequiredContextDelete.php
Form submission handler.

File

src/Form/RequiredContextDelete.php, line 187

Class

RequiredContextDelete
Base class for adding a required contexts step to your wizard.

Namespace

Drupal\ctools\Form

Code

protected abstract function getParentRouteInfo($cached_values);