pluralised "partner organisations"

This commit is contained in:
2022-05-13 11:53:25 +01:00
parent c3e6f05b21
commit 42f4b124d0
3 changed files with 8 additions and 3 deletions

View File

@ -45,7 +45,7 @@ class SeeAllOrganisationsMenuLink extends DeriverBase implements ContainerDerive
$organisationTypes = $this->entityTypeManager->getStorage('oc_organisation_type')->loadMultiple();
foreach ($organisationTypes as $id => $organisationType) {
$links[$id] = [
'title' => $organisationType->label(),
'title' => \Drupal\opencase\Pluraliser::pluralise($organisationType->label()),
'route_name' => "view.organisations.page_1",
'route_parameters' => ['type' => $organisationType->id()]
] + $base_plugin_definition;