You are here

function admin_path_help in Administrative pages 7

Implements hook_help().

File

./admin_path.module, line 13
Allows users to configure which pages are to be considered administrative.

Code

function admin_path_help($path, $arg) {
  global $user;
  switch ($path) {
    case 'admin/help#admin_path':
      $output = '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('The Administrative pages module allows users to configure which pages are to be considered administrative.') . '</p>';
      $output .= '<h3>' . t('Uses') . '</h3>';
      $output .= '<dl><dt>' . t('Configuring administrative pages') . '</dt>';
      $output .= '<dd>' . t('Users with the <em>Administer admin paths</em> permission can configure which pages are to be considered administrative on the <a href="@admin_paths">Administrative pages configuration form</a>.', array(
        '@admin_paths' => url('admin/config/user-interface/admin-path'),
      )) . '</dd>';
      $output .= '</dl>';
      return $output;
    case 'admin/config/user-interface/admin-path':
      $output = '<p>' . t('Configure which pages are to be considered administrative.') . '</p>';
      return $output;
  }
}