Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
flag-3110955
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Issue forks
flag-3110955
Commits
0b3501e5
Commit
0b3501e5
authored
6 years ago
by
martin frances
Committed by
Tess
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#2954660
by martin107, socketwench: Add plural labels to entity types.
parent
363e210f
No related branches found
Branches containing commit
Tags
1.3.15
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Entity/Flag.php
+6
-0
6 additions, 0 deletions
src/Entity/Flag.php
with
6 additions
and
0 deletions
src/Entity/Flag.php
+
6
−
0
View file @
0b3501e5
...
...
@@ -16,6 +16,12 @@ use Drupal\flag\FlagInterface;
* @ConfigEntityType(
* id = "flag",
* label = @Translation("Flag"),
* label_singular = @Translation("flag"),
* label_plural = @Translation("flags"),
* label_count = @PluralTranslation(
* singular = "@count flag",
* plural = "@count flags",
* ),
* admin_permission = "administer flags",
* handlers = {
* "list_builder" = "Drupal\flag\Controller\FlagListBuilder",
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment