DRUPAL_EXTENSION_NAME_MAX_LENGTH
Same name in other branches
- 8.9.x core/includes/bootstrap.inc \DRUPAL_EXTENSION_NAME_MAX_LENGTH
- 10 core/includes/bootstrap.inc \DRUPAL_EXTENSION_NAME_MAX_LENGTH
- 11.x 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.
File
-
core/
includes/ bootstrap.inc, line 104
Code
const DRUPAL_EXTENSION_NAME_MAX_LENGTH = 50;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.