function quote_menu in Quote 5
Same name and namespace in other branches
- 6.2 quote.module \quote_menu()
- 6 quote.module \quote_menu()
- 7.2 quote.module \quote_menu()
- 7 quote.module \quote_menu()
Implementation of hook_menu().
File
- ./
quote.module, line 21
Code
function quote_menu($may_cache) {
$items = array();
if ($may_cache) {
$items[] = array(
'path' => 'admin/settings/quote',
'title' => t('Quote'),
'description' => t('Configure the behaviour of the quote module.'),
'callback' => 'drupal_get_form',
'callback arguments' => 'quote_settings_form',
'access' => user_access('administer filters'),
);
}
else {
// Reference quote.css, if it exists.
drupal_add_css(drupal_get_path('module', 'quote') . '/quote.css');
}
return $items;
}