You are here

function context_ui_help in Context 7.3

Same name and namespace in other branches
  1. 5 context_ui/context_ui.module \context_ui_help()
  2. 6.3 context_ui/context_ui.module \context_ui_help()
  3. 6 context_ui/context_ui.module \context_ui_help()
  4. 6.2 context_ui/context_ui.module \context_ui_help()

Implementation of hook_help().

File

context_ui/context_ui.module, line 122

Code

function context_ui_help($path, $arg) {
  switch ($path) {
    case 'admin/help#context_ui':
      $output = file_get_contents(drupal_get_path('module', 'context_ui') . '/README.txt');
      return module_exists('markdown') ? filter_xss_admin(module_invoke('markdown', 'filter', 'process', 0, -1, $output)) : '<pre>' . check_plain($output) . '</pre>';
    case 'admin/structure/context':
      return '<p>' . t('Context allows you to manage contextual conditions and reactions for different portions of your site. You can think of each context as representing a "section" of your site. For each context, you can choose the conditions that trigger this context to be active and choose different aspects of Drupal that should react to this active context.') . '</p>';
  }
}