diff --git a/core/lib/Drupal/Core/Entity/EntityListBuilder.php b/core/lib/Drupal/Core/Entity/EntityListBuilder.php index 1ef6546..e31ed77 100644 --- a/core/lib/Drupal/Core/Entity/EntityListBuilder.php +++ b/core/lib/Drupal/Core/Entity/EntityListBuilder.php @@ -105,16 +105,17 @@ protected function getEntityIds() { } /** - * Gets the escaped label of an entity. + * Gets the label of an entity. * * @param \Drupal\Core\Entity\EntityInterface $entity * The entity being listed. * * @return string - * The escaped entity label. + * The entity label. * * @deprecated in Drupal 8.0.x, will be removed before Drupal 9.0.0 - * Use $entity->label() instead. + * Use $entity->label() instead. This method used to escape the entity + * label. The render system's autoescape is now relied upon. */ protected function getLabel(EntityInterface $entity) { return $entity->label();