function ConditionDelete::getParentRouteInfo

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

Document the route name and parameters for redirect after submission.

Parameters

array $cached_values: The cached context values.

Return value

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

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

File

src/Form/ConditionDelete.php, line 200

Class

ConditionDelete
Delete Condition Confirmation Form.

Namespace

Drupal\ctools\Form

Code

protected abstract function getParentRouteInfo(array $cached_values);