Skip to content
Snippets Groups Projects
Commit 68530cb6 authored by catch's avatar catch
Browse files

Issue #3261347 by noorulshameera, pflora, Johnny Santos, neclimdul, alexpott:...

Issue #3261347 by noorulshameera, pflora, Johnny Santos, neclimdul, alexpott: Incorrect EntityType::$label_count type documentation

(cherry picked from commit 2c91a94a)
parent 52dbad9b
Branches
Tags
7 merge requests!8506Draft: Issue #3456536 by ibrahim tameme,!5646Issue #3350972 by nod_: [random test failure]...,!5600Issue #3350972 by nod_: [random test failure]...,!5343Issue #3305066 by quietone, Rename RedirectLeadingSlashesSubscriber,!3603#ISSUE 3346218 Add a different message on edit comment,!3555Issue #2473873: Views entity operations lack cacheability support, resulting in incorrect dropbuttons,!3494Issue #3327018 by Spokje, longwave, xjm, mondrake: Update PHPStan to 1.9.3 and...
......@@ -200,9 +200,15 @@ class EntityType extends PluginDefinition implements EntityTypeInterface {
/**
* A definite singular/plural name of the type.
*
* Needed keys: "singular" and "plural".
* Needed keys: "singular" and "plural". Can also have key: "context".
* @code
* [
* 'singular' => '@count entity',
* 'plural' => '@count entities',
* 'context' => 'Entity context',
* ]
*
* @var string|\Drupal\Core\StringTranslation\TranslatableMarkup
* @var string[]
*
* @see \Drupal\Core\Entity\EntityTypeInterface::getCountLabel()
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment