constant DRUPAL_EXTENSION_NAME_MAX_LENGTH in Drupal 10
Same name and namespace in other branches
- 8 core/includes/bootstrap.inc \DRUPAL_EXTENSION_NAME_MAX_LENGTH
- 9 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 - ThemeInstaller::install in core/
lib/ Drupal/ Core/ Extension/ ThemeInstaller.php
File
- core/
includes/ bootstrap.inc, line 37 - Functions that need to be loaded on every Drupal request.
Code
const DRUPAL_EXTENSION_NAME_MAX_LENGTH = 50;