You are here

function block_class_styles_menu in Block Class Styles 7.2

Same name and namespace in other branches
  1. 7 block_class_styles.module \block_class_styles_menu()

Implements hook_menu().

Related topics

File

./block_class_styles.module, line 138
Base module file for block_class_styles

Code

function block_class_styles_menu() {
  $items = array();
  $items[BLOCK_CLASS_STYLES_PATH_SETTINGS] = array(
    'title' => 'Block styles',
    'description' => 'Define preset classes and styles.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'block_class_styles_admin_settings',
    ),
    'file' => 'block_class_styles.admin.inc',
    'access arguments' => array(
      'administer block_class_styles',
    ),
    'type' => MENU_LOCAL_TASK,
    'weight' => 50,
  );
  $items[BLOCK_CLASS_STYLES_ENTITY_SETTING_URL] = array(
    'title' => 'Update setting',
    'page callback' => '_block_class_styles_update_entity_setting',
    'access arguments' => array(
      'administer block_class_styles',
    ),
    'type' => MENU_CALLBACK,
    'file' => 'block_class_styles.admin.inc',
  );
  return $items;
}