You are here

function css3pie_menu in css3pie 7.2

Same name and namespace in other branches
  1. 6 css3pie.module \css3pie_menu()

Implements hook_menu() admin settings page under themes page

Return value

string

See also

hook_menu();

File

./css3pie.module, line 37
css3pie.module a very simple Drupal module to implement the css3pie.com javascript to your drupal and make the css selectors configurable over ui. This module creates a real css file on drupal files folder and add them via drupal_add_css.

Code

function css3pie_menu() {
  $items = array();
  $items['admin/config/user-interface/css3pie'] = array(
    'title' => 'CSS3PIE',
    'description' => 'Adds css3pie support to Drupal',
    'access arguments' => array(
      'administer css3pie',
    ),
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'css3pie_admin',
    ),
    'type' => MENU_NORMAL_ITEM,
    'file' => 'css3pie.admin.inc',
  );
  return $items;
}