Commit 47109d1e 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 6ba6316c
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -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()
   */