1 admin_bar.map.inc filter_admin_bar_map()

Implements hook_admin_bar_map() on behalf of Filter module.

File

core/modules/admin_bar/admin_bar.map.inc, line 36
Implements hook_admin_bar_map() on behalf of core modules.

Code

function filter_admin_bar_map() {
  if (!user_access('administer filters')) {
    return;
  }
  $map['admin/config/content/formats/%filter_format'] = array(
    'parent' => 'admin/config/content/formats',
    'arguments' => array(
      array('%filter_format' => array_keys(filter_formats())),
    ),
  );
  return $map;
}