You are here

function pcr_help in Pretty Checkbox Radio 8

Implements hook_help().

File

./pcr.module, line 13
This module allows convert default checkbox and radiobutton.

Code

function pcr_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'help.page.pcr':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('The Pretty Checkbox Radio module allows the default
        checkbox and radiobutton to be converted to buttons-friendly
        elements.') . '</p>';
      $output .= '<h3>' . t('Uses') . '</h3>';
      $output .= '<p>' . t('Go to manage form display tab and under widget
        column select "Pretty Check boxes/radio buttons" for Boolean or
        List(text) fields') . '</p>';
      return $output;
  }
}