You are here

function library_get_content_fields in Library 6.2

Same name and namespace in other branches
  1. 5.2 library.module \library_get_content_fields()
  2. 6 library.module \library_get_content_fields()
2 calls to library_get_content_fields()
library_get_table_header in ./library.module
library_uninstall in ./library.install
Implementation of hook_uninstall().

File

./library.module, line 1303

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;
}