You are here

function paragraphs_id_menu in Paragraphs ID 7

Implements hook_menu().

File

./paragraphs_id.module, line 29
Paragraphs ID module file.

Code

function paragraphs_id_menu() {
  $items = array();
  $callback_file_directory = drupal_get_path('module', 'paragraphs_id') . '/includes';
  $items['admin/config/system/paragraphs-id'] = array(
    'title' => 'Paragraphs ID',
    'description' => 'Configure Paragraphs ID class prefix.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'paragraphs_id_settings_form',
    ),
    'access arguments' => array(
      PI_ADMIN_PERMISSION,
    ),
    'file' => 'paragraphs_id.admin.inc',
    'file path' => $callback_file_directory,
  );
  return $items;
}