You are here

function animate_any_menu in Animate Any 7

Implements hook_menu().

File

./animate_any.module, line 11
Add CSS3 cross-browser animation to any Drupal site.

Code

function animate_any_menu() {
  $items = array();
  $items['admin/config/animate_any'] = array(
    'title' => 'Animate any settings',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'animate_any_settings',
    ),
    'access arguments' => array(
      'access animate any',
    ),
    'weight' => 1,
  );
  $items['admin/config/animate_any/add'] = array(
    'title' => 'Add',
    'type' => MENU_DEFAULT_LOCAL_TASK,
    'weight' => 2,
  );
  $items['admin/config/animate_any/list'] = array(
    'title' => 'List',
    'page callback' => 'animate_any_get_animate_list',
    'access arguments' => array(
      'access animate any',
    ),
    'type' => MENU_LOCAL_TASK,
    'weight' => 3,
  );
  $items['admin/config/animate_any/edit/%'] = array(
    'title' => 'Edit',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'animate_any_edit_animate_block',
      4,
    ),
    'access arguments' => array(
      'access animate any',
    ),
    'weight' => 5,
  );
  $items['admin/config/animate_any/delete/%'] = array(
    'title' => 'Edit',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'animate_any_delete_animate_block',
      4,
    ),
    'access arguments' => array(
      'access animate any',
    ),
    'weight' => 6,
  );
  return $items;
}