diff --git a/core/lib/Drupal/Core/Annotation/PluralTranslation.php b/core/lib/Drupal/Core/Annotation/PluralTranslation.php index 67d75eb..61d77a2 100644 --- a/core/lib/Drupal/Core/Annotation/PluralTranslation.php +++ b/core/lib/Drupal/Core/Annotation/PluralTranslation.php @@ -28,10 +28,10 @@ * above: * @code * // Returns: 1 item - * echo $entity->entityTypeLabel(TRUE, 1); + * echo $entity->entityTypeLabel(\Drupal\Core\Entity\EntityInterface::ENTITY_TYPE_LABEL_COUNT, 1); * * // Returns: 5 items - * echo $entity->entityTypeLabel(TRUE, 5); + * echo $entity->entityTypeLabel(\Drupal\Core\Entity\EntityInterface::ENTITY_TYPE_LABEL_COUNT, 5); * @endcode * * @Annotation