You are here

constant DRUPAL_EXTENSION_NAME_MAX_LENGTH in Drupal 9

Same name and namespace in other branches
  1. 8 core/includes/bootstrap.inc \DRUPAL_EXTENSION_NAME_MAX_LENGTH
  2. 10 core/includes/bootstrap.inc \DRUPAL_EXTENSION_NAME_MAX_LENGTH

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

6 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.
ModuleInstaller::install in core/lib/Drupal/Core/Extension/ModuleInstaller.php
Installs a given list of modules.
ThemeInstaller::install in core/lib/Drupal/Core/Extension/ThemeInstaller.php
Installs a given list of themes.

... See full list

File

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

Code

const DRUPAL_EXTENSION_NAME_MAX_LENGTH = 50;