function asset_textarea in Asset 6
Same name and namespace in other branches
- 5 asset.module \asset_textarea()
The #process callback function for the textareas
File
- ./
asset.module, line 344
Code
function asset_textarea($element) {
if (_asset_page_match()) {
$output = theme('asset_textarea_link', $element);
$element['#suffix'] .= $output;
if (module_exists('tinymce')) {
drupal_add_js(drupal_get_path('module', 'asset') . '/misc/tinymce/asset_tinymce_helper.js');
}
}
return $element;
}