You are here

function spoiler_menu in Spoiler 5

Implementation of hook_menu().

File

./spoiler.module, line 15
Spoiler module: This module allows users to hide potential "spoiler" content by inserting them between [spoiler][/spoiler] tags. These tags will be converted to HTML by this filter and the relevant CSS rules will set the foreground and…

Code

function spoiler_menu($may_cache) {
  if (!$may_cache) {

    // Include spoiler.css.
    drupal_add_css(drupal_get_path('module', 'spoiler') . '/spoiler.css');
  }
  return array();
}