You are here

constant WEBFORM_FEATURES_MACHINE_NAME_MAXLENGTH in Webform Features 7.4

Webform machine names are limited to this length.

Component machine names also use this limit in the UI, but may be up to ((2 * this length) + 2) chars internally, as they contain their webform's machine name as a prefix, with a 2 character '__' separator in between.

These are stored as varchar(255), and so this value is limited to 126.

3 uses of WEBFORM_FEATURES_MACHINE_NAME_MAXLENGTH
webform_features_form_alter in ./webform_features.module
Implements hook_form_alter().
webform_features_install in ./webform_features.install
Implements hook_install().
webform_features_schema_alter in ./webform_features.install
Implements hook_schema_alter().

File

./webform_features.module, line 17
This module allows to export Webforms into Features.

Code

define('WEBFORM_FEATURES_MACHINE_NAME_MAXLENGTH', 126);