pluralised "partner organisations"
This commit is contained in:
parent
c3e6f05b21
commit
42f4b124d0
@ -37,11 +37,13 @@ permissions:
|
|||||||
- 'edit client entities'
|
- 'edit client entities'
|
||||||
- 'edit equal opps entities'
|
- 'edit equal opps entities'
|
||||||
- 'edit event entities'
|
- 'edit event entities'
|
||||||
|
- 'edit organisation entities'
|
||||||
- 'edit staff_member entities'
|
- 'edit staff_member entities'
|
||||||
- 'edit volunteer entities'
|
- 'edit volunteer entities'
|
||||||
- 'post comments'
|
- 'post comments'
|
||||||
- 'revert all activity revisions'
|
- 'revert all activity revisions'
|
||||||
- 'revert all client revisions'
|
- 'revert all client revisions'
|
||||||
|
- 'revert all organisation revisions'
|
||||||
- 'revert all staff_member revisions'
|
- 'revert all staff_member revisions'
|
||||||
- 'revert all volunteer revisions'
|
- 'revert all volunteer revisions'
|
||||||
- 'search content'
|
- 'search content'
|
||||||
@ -50,11 +52,14 @@ permissions:
|
|||||||
- 'use text format basic_html'
|
- 'use text format basic_html'
|
||||||
- 'view all activity revisions'
|
- 'view all activity revisions'
|
||||||
- 'view all client revisions'
|
- 'view all client revisions'
|
||||||
|
- 'view all organisation revisions'
|
||||||
- 'view all staff_member revisions'
|
- 'view all staff_member revisions'
|
||||||
- 'view all volunteer revisions'
|
- 'view all volunteer revisions'
|
||||||
- 'view published activity entities'
|
- 'view published activity entities'
|
||||||
- 'view published client entities'
|
- 'view published client entities'
|
||||||
- 'view published equal opps entities'
|
- 'view published equal opps entities'
|
||||||
- 'view published event entities'
|
- 'view published event entities'
|
||||||
|
- 'view published organisation entities'
|
||||||
|
- 'view published organisation relation entities'
|
||||||
- 'view published staff_member entities'
|
- 'view published staff_member entities'
|
||||||
- 'view published volunteer entities'
|
- 'view published volunteer entities'
|
||||||
|
@ -143,7 +143,7 @@ display:
|
|||||||
title_enable: false
|
title_enable: false
|
||||||
title: All
|
title: All
|
||||||
title_enable: true
|
title_enable: true
|
||||||
title: '{{ arguments.type }}'
|
title: '{{ arguments.type }}s'
|
||||||
default_argument_type: raw
|
default_argument_type: raw
|
||||||
default_argument_options:
|
default_argument_options:
|
||||||
index: 1
|
index: 1
|
||||||
@ -165,7 +165,7 @@ display:
|
|||||||
validate_options: { }
|
validate_options: { }
|
||||||
glossary: false
|
glossary: false
|
||||||
limit: 0
|
limit: 0
|
||||||
case: none
|
case: ucfirst
|
||||||
path_case: none
|
path_case: none
|
||||||
transform_dash: false
|
transform_dash: false
|
||||||
break_phrase: false
|
break_phrase: false
|
||||||
|
@ -45,7 +45,7 @@ class SeeAllOrganisationsMenuLink extends DeriverBase implements ContainerDerive
|
|||||||
$organisationTypes = $this->entityTypeManager->getStorage('oc_organisation_type')->loadMultiple();
|
$organisationTypes = $this->entityTypeManager->getStorage('oc_organisation_type')->loadMultiple();
|
||||||
foreach ($organisationTypes as $id => $organisationType) {
|
foreach ($organisationTypes as $id => $organisationType) {
|
||||||
$links[$id] = [
|
$links[$id] = [
|
||||||
'title' => $organisationType->label(),
|
'title' => \Drupal\opencase\Pluraliser::pluralise($organisationType->label()),
|
||||||
'route_name' => "view.organisations.page_1",
|
'route_name' => "view.organisations.page_1",
|
||||||
'route_parameters' => ['type' => $organisationType->id()]
|
'route_parameters' => ['type' => $organisationType->id()]
|
||||||
] + $base_plugin_definition;
|
] + $base_plugin_definition;
|
||||||
|
Reference in New Issue
Block a user