function maxlength_permission in Maxlength 7.3
Implements hook_permission().
File
- ./
maxlength.module, line 25 - Limit the number of characters in textfields and textareas and shows the amount of characters left.
Code
function maxlength_permission() {
return array(
'bypass maxlength' => array(
'title' => t('Bypass maxlength setting'),
'description' => t("If a maxlength is configured for a certain field, the user don't see the value."),
),
);
}