You are here

function asset_admin_overview in Asset 5.2

Menu Callback for admin/settings/asset

Related topics

1 string reference to 'asset_admin_overview'
asset_menu in ./asset.module
Implementation of hook_menu().

File

./asset.module, line 152
Main module.

Code

function asset_admin_overview() {
  foreach (asset_get_types() as $type) {
    $items[] = '<strong>' . $type->name . ':</strong> ' . $type->description;
  }
  $output .= theme('item_list', $items, t('Available asset types'));
  $items = array();
  foreach (module_implements('asset_formatter') as $module) {
    $items[] = $module;
  }
  $output .= theme('item_list', $items, t('Available formatters'));
  return $output;
}