Pluralising entity names in "See all" menu
This commit is contained in:
parent
8354e3b8cf
commit
eb9bd789c8
@ -45,7 +45,7 @@ class SeeAllActorsMenuLink extends DeriverBase implements ContainerDeriverInterf
|
||||
$actorTypes = $this->entityTypeManager->getStorage('oc_actor_type')->loadMultiple();
|
||||
foreach ($actorTypes as $id => $actorType) {
|
||||
$links[$id] = [
|
||||
'title' => $actorType->label(),
|
||||
'title' => \Drupal\opencase\Pluraliser::pluralise($actorType->label()),
|
||||
'route_name' => "view.actors.page_1",
|
||||
'route_parameters' => ['type' => $actorType->id()]
|
||||
] + $base_plugin_definition;
|
||||
|
Reference in New Issue
Block a user