Added equal opps view, and other changes.

This commit is contained in:
2021-02-18 16:46:59 +00:00
parent 1a7757394e
commit 4647ef6e3e
7 changed files with 320 additions and 8 deletions

View File

@ -45,7 +45,7 @@ class AddActorsMenuLink extends DeriverBase implements ContainerDeriverInterface
$actorTypes = $this->entityTypeManager->getStorage('oc_actor_type')->loadMultiple();
foreach ($actorTypes as $id => $actorType) {
$links[$id] = [
'title' => "Add ". $actorType->label(),
'title' => $actorType->label(),
'route_name' => "entity.oc_actor.add_form",
'route_parameters' => ['oc_actor_type' => $actorType->id()]
] + $base_plugin_definition;