You are here

function library_get_content_fields in Library 5.2

Same name and namespace in other branches
  1. 6.2 library.module \library_get_content_fields()
  2. 6 library.module \library_get_content_fields()
1 call to library_get_content_fields()
library_get_table_header in ./library.module

File

./library.module, line 1311

Code

function library_get_content_fields() {
  $fields = array();
  if (module_exists('content')) {
    foreach (library_get_item_types() as $type) {
      $fields[$type] = content_fields(NULL, $type);
    }
  }
  return $fields;
}