Same name and namespace in other branches
  1. 8.9.x core/includes/bootstrap.inc \DRUPAL_EXTENSION_NAME_MAX_LENGTH
  2. 9 core/includes/bootstrap.inc \DRUPAL_EXTENSION_NAME_MAX_LENGTH

The maximum number of characters in a module or theme name.

4 uses of DRUPAL_EXTENSION_NAME_MAX_LENGTH
file_schema in core/modules/file/file.install
Implements hook_schema().
hook_schema in core/lib/Drupal/Core/Database/database.api.php
Define the current version of the database schema.
MenuTreeStorage::schemaDefinition in core/lib/Drupal/Core/Menu/MenuTreeStorage.php
Defines the schema for the tree table.
user_schema in core/modules/user/user.install
Implements hook_schema().

File

core/includes/bootstrap.inc, line 39
Functions that need to be loaded on every Drupal request.

Code

const DRUPAL_EXTENSION_NAME_MAX_LENGTH = 50;