function library_content_extra_fields in Library 6
Same name and namespace in other branches
- 6.2 library.module \library_content_extra_fields()
File
- ./
library.module, line 145
Code
function library_content_extra_fields($type_name) {
$extra = array();
if (module_exists('content') && variable_get('library_' . $type_name, LIBRARY_ITEM_NOT_IN_LIBRARY) == LIBRARY_ITEM_IN_LIBRARY) {
$extra['item_wrapper'] = array(
'label' => 'Library',
'weight' => -4,
);
}
return $extra;
}