You are here

abstract protected function ManageConditions::getOperationsRouteInfo in Chaos Tool Suite (ctools) 8.3

Document the route name and parameters for edit/delete context operations.

The route name returned from this method is used as a "base" to which ".edit" and ".delete" are appended in the getOperations() method. Subclassing '\Drupal\ctools\Form\ConditionConfigure' and '\Drupal\ctools\Form\ConditionDelete' should set you up for using this approach quite seamlessly.

Parameters

mixed $cached_values:

string $machine_name:

string $row:

Return value

array In the format of return ['route.base.name', ['machine_name' => $machine_name, 'context' => $row]];

3 calls to ManageConditions::getOperationsRouteInfo()
ManageConditions::add in src/Form/ManageConditions.php
ManageConditions::renderRows in src/Form/ManageConditions.php
ManageConditions::submitForm in src/Form/ManageConditions.php
Form submission handler.

File

src/Form/ManageConditions.php, line 226

Class

ManageConditions

Namespace

Drupal\ctools\Form

Code

protected abstract function getOperationsRouteInfo($cached_values, $machine_name, $row);