You are here

function chosen_help in Chosen 7.2

Same name and namespace in other branches
  1. 8.2 chosen.module \chosen_help()
  2. 3.0.x chosen.module \chosen_help()

Implements hook_help().

File

./chosen.module, line 21
General functions and hook implementations.

Code

function chosen_help($path, $arg) {
  switch ($path) {
    case 'admin/help#chosen':
      $output = '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('Chosen uses the Chosen jQuery plugin to make your < select > elements more user-friendly.') . '</p>';
      $output .= '<h3>' . t('Usage') . '</h3>';
      $output .= '<p>' . t('Configure at: <a href="@structure_types">admin/config/user-interface/chosen</a>', array(
        '@structure_types' => url('admin/config/user-interface/chosen'),
      )) . '</p>';
      return $output;
  }
}