diff --git a/core/lib/Drupal/Core/Entity/EntityDisplayRepository.php b/core/lib/Drupal/Core/Entity/EntityDisplayRepository.php index e201508..f506de7 100644 --- a/core/lib/Drupal/Core/Entity/EntityDisplayRepository.php +++ b/core/lib/Drupal/Core/Entity/EntityDisplayRepository.php @@ -200,7 +200,7 @@ protected function getDisplayModeOptions($display_type, $entity_type_id) { } /** - * Returns an array of display mode options by bundle. + * Returns an array of enabled display mode options by bundle. * * @param $display_type * The display type to be retrieved. It can be "view_mode" or "form_mode". diff --git a/core/lib/Drupal/Core/Entity/EntityDisplayRepositoryInterface.php b/core/lib/Drupal/Core/Entity/EntityDisplayRepositoryInterface.php index ece9aa0..358ab78 100644 --- a/core/lib/Drupal/Core/Entity/EntityDisplayRepositoryInterface.php +++ b/core/lib/Drupal/Core/Entity/EntityDisplayRepositoryInterface.php @@ -73,7 +73,7 @@ public function getViewModeOptions($entity_type_id); public function getFormModeOptions($entity_type_id); /** - * Returns an array of view mode options by bundle. + * Returns an array of enabled view mode options by bundle. * * @param string $entity_type_id * The entity type whose view mode options should be returned. @@ -86,7 +86,7 @@ public function getFormModeOptions($entity_type_id); public function getViewModeOptionsByBundle($entity_type_id, $bundle); /** - * Returns an array of form mode options by bundle. + * Returns an array of enabled form mode options by bundle. * * @param string $entity_type_id * The entity type whose form mode options should be returned.