You are here

function regions_top_nav_map_notification in Regions 7

Implementation of hook_map_notification().

File

modules/regions_top_nav/regions_top_nav.module, line 148
Add a top nav bar for dropping blocks into.

Code

function regions_top_nav_map_notification() {

  // provide defaults for drupal
  $map = array(
    'default' => array(
      'title' => 'Message',
      'icon' => base_path() . drupal_get_path('module', 'regions_top_nav') . '/images/notifications/default.png',
      'bar_icon' => base_path() . drupal_get_path('module', 'regions_top_nav') . '/images/notifications/default_bar.png',
    ),
    'status' => array(
      'title' => 'Status',
      'icon' => base_path() . drupal_get_path('module', 'regions_top_nav') . '/images/notifications/status.png',
      'bar_icon' => base_path() . drupal_get_path('module', 'regions_top_nav') . '/images/notifications/status_bar.png',
    ),
    'warning' => array(
      'title' => 'Warning',
      'icon' => base_path() . drupal_get_path('module', 'regions_top_nav') . '/images/notifications/warning.png',
      'bar_icon' => base_path() . drupal_get_path('module', 'regions_top_nav') . '/images/notifications/warning_bar.png',
    ),
    'error' => array(
      'title' => 'Error',
      'icon' => base_path() . drupal_get_path('module', 'regions_top_nav') . '/images/notifications/error.png',
      'bar_icon' => base_path() . drupal_get_path('module', 'regions_top_nav') . '/images/notifications/error_bar.png',
    ),
  );
  return $map;
}