protected function ConnectionRole::urlRouteParameters in RedHen CRM 8
Gets an array of placeholders for this entity.
@todo Figure out what caching needs to be done here.
Parameters
string $rel: The link relationship type, for example: canonical or edit-form.
Return value
array An array of URI placeholders.
Overrides EntityBase::urlRouteParameters
File
- modules/
redhen_connection/ src/ Entity/ ConnectionRole.php, line 81
Class
- ConnectionRole
- Defines the Connection Role entity.
Namespace
Drupal\redhen_connection\EntityCode
protected function urlRouteParameters($rel) {
$uri_route_parameters = parent::urlRouteParameters($rel);
$uri_route_parameters['redhen_connection_type'] = $this
->get('connection_type');
return $uri_route_parameters;
}