diff --git a/core/modules/system/entity.api.php b/core/modules/system/entity.api.php index e0cdcfc..8b8e370 100644 --- a/core/modules/system/entity.api.php +++ b/core/modules/system/entity.api.php @@ -645,10 +645,11 @@ function hook_entity_type_build(array &$entity_types) { * \Drupal\Core\Entity\Annotation\EntityType and all the ones additionally * provided by modules can be altered here. * - * Do not use this hook to add information to entity types, unless: - * - you are just filling in default values, - * - you need to dynamically add information only in certain circumstances, or - * - your hook needs to run after hook_entity_type_build() implementations. + * Do not use this hook to add information to entity types, unless one of the + * following is true: + * - You are filling in default values. + * - You need to dynamically add information only in certain circumstances. + * - Your hook needs to run after hook_entity_type_build() implementations. * Use hook_entity_type_build() instead in all other cases. * * @param \Drupal\Core\Entity\EntityTypeInterface[] $entity_types