You are here

function publication_date_menu in Publication Date 8

Same name and namespace in other branches
  1. 7.2 publication_date.module \publication_date_menu()

Implements hook_menu().

File

./publication_date.module, line 113
Add a field to nodes containing the publication date.

Code

function publication_date_menu() {
  $items['admin/config/content/publication-date'] = array(
    'title' => 'Publication date',
    'description' => 'Configure publication date settings when using the date popup module.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'publication_date_admin_form',
    ),
    'access arguments' => array(
      'administer publication date',
    ),
    'file' => 'includes/publication_date.admin.inc',
  );
  return $items;
}