'Text formats', 'description' => "Analyze the usage of the available text formats on this site.", 'page callback' => 'drupal_get_form', 'page arguments' => array('text_formats_report_page_form'), 'access arguments' => array('administer site configuration'), 'file' => 'inc/text_formats_report.page.inc', ); $items['admin/reports/text-formats/field/%'] = array( 'title' => 'Text formats by field', 'page callback' => 'text_formats_report_field_page', 'page arguments' => array(4), 'access arguments' => array('administer site configuration'), 'file' => 'inc/text_formats_report.field_page.inc', ); return $items; } /** * Implements hook_theme(). */ function text_formats_report_theme($existing, $type, $theme, $path) { return array( 'text_formats_report_stats' => array( 'variables' => array( 'entities' => array(), 'custom_blocks' => array(), 'filter_formats_filter_lists' => array(), ), 'file' => 'theme/text_formats_report_stats.theme.inc' ), 'text_formats_report_field_stats' => array( 'variables' => array( 'stats' => array(), 'filter_formats' => array(), 'field_name' => '', ), 'file' => 'theme/text_formats_report_field_stats.theme.inc' ), ); }