diff --git a/core/lib/Drupal/Core/Config/Entity/ConfigEntityType.php b/core/lib/Drupal/Core/Config/Entity/ConfigEntityType.php index 1dfb43c..8db51e0 100644 --- a/core/lib/Drupal/Core/Config/Entity/ConfigEntityType.php +++ b/core/lib/Drupal/Core/Config/Entity/ConfigEntityType.php @@ -20,14 +20,14 @@ class ConfigEntityType extends EntityType { * Length limit of the configuration entity prefix. * * Configuration entity names are composed of two parts: - * 1. The config prefix, which is returned by getConfigPrefix and is - * composed of: - * a. The provider module name (limited to 50 characters by - DRUPAL_EXTENSION_NAME_MAX_LENGTH). - * b. The module-specific namespace identifier, which defaults to the - * configuration entity type ID. Entity type IDs are limited to 32 - * characters. - * 2. The configuration entity ID. + * - The config prefix, which is returned by getConfigPrefix() and is + * composed of: + * - The provider module name (limited to 50 characters by + * DRUPAL_EXTENSION_NAME_MAX_LENGTH). + * - The module-specific namespace identifier, which defaults to the + * configuration entity type ID. Entity type IDs are limited to 32 + * characters by EntityTypeInterface::ID_MAX_LENGTH. + * - The configuration entity ID. * So, a typical configuration entity filename will look something like: * provider_module_name.namespace_identifier.config_entity_id.yaml * @@ -38,12 +38,13 @@ class ConfigEntityType extends EntityType { * the configuration entity prefix is limited to 83 characters: up to 50 * characters for the module name, 1 for the dot, and 32 for the namespace * identifier. This also allows modules with shorter names to define longer - * config prefixes if desired. + * namespace identifiers if desired. * * @see \Drupal\Core\Config\ConfigBase::MAX_NAME_LENGTH * @see \Drupal\Core\Config\Entity\ConfigEntityTypeInterface::getConfigPrefix() - * @see \DRUPAL_EXTENSION_NAME_MAX_LENGTH + * @see DRUPAL_EXTENSION_NAME_MAX_LENGTH * @see \Drupal\Core\Config\Entity\ConfigEntityStorage::MAX_ID_LENGTH + * @see \Drupal\Core\Entity\EntityTypeInterface::ID_MAX_LENGTH */ const PREFIX_LENGTH = 83;