You are here

constant HOSTING_MAX_ALIAS_LENGTH in Hosting 7.4

Same name and namespace in other branches
  1. 6.2 hosting.module \HOSTING_MAX_ALIAS_LENGTH
  2. 7.3 hosting.module \HOSTING_MAX_ALIAS_LENGTH

The maximum length for a site alias. Leaving room to append '.alias.drushrc.php' and keep filenames below 255.

3 uses of HOSTING_MAX_ALIAS_LENGTH
hosting_alias_validate_alias in alias/hosting_alias.module
Ensure that an alias is valid, and not already in use.
hosting_schema in ./hosting.install
Implements hook_schema().
hosting_site_validate in site/hosting_site.form.inc
Implements hook_validate().

File

./hosting.module, line 14
Hosting module.

Code

define('HOSTING_MAX_ALIAS_LENGTH', 235);