DRUPAL_EXTENSION_NAME_MAX_LENGTH

Same name in other branches
  1. 9 core/includes/bootstrap.inc \DRUPAL_EXTENSION_NAME_MAX_LENGTH
  2. 8.9.x core/includes/bootstrap.inc \DRUPAL_EXTENSION_NAME_MAX_LENGTH
  3. 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
ThemeInstaller::install in core/lib/Drupal/Core/Extension/ThemeInstaller.php

... See full list

File

core/includes/bootstrap.inc, line 39

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.