function maxlength_elements in Maxlength 6
Same name and namespace in other branches
- 5 maxlength.module \maxlength_elements()
Implemenation of hook_elements().
File
- ./
maxlength.module, line 84
Code
function maxlength_elements() {
$type = array();
if (_maxlength_limit_body()) {
$type['textarea'] = array(
'#theme' => 'maxlength_textarea',
);
}
return $type;
}