function label_length_limit_module_implements_alter in Override label length limititation 8
Same name and namespace in other branches
- 2.0.x label_length_limit.module \label_length_limit_module_implements_alter()
Implements hook_module_implements_alter().
File
- ./
label_length_limit.module, line 68 - Contains label_length_limit.module.
Code
function label_length_limit_module_implements_alter(&$implementations, $hook) {
if ($hook !== 'form_alter') {
return;
}
if (!isset($implementations['label_length_limit'])) {
return;
}
$implementation = $implementations['label_length_limit'];
unset($implementations['label_length_limit']);
$implementations['label_length_limit'] = $implementation;
}