You are here

function tagclouds_help in TagCloud 8

Same name and namespace in other branches
  1. 2.0.x tagclouds.module \tagclouds_help()
  2. 1.0.x tagclouds.module \tagclouds_help()

Implements hook_help().

File

./tagclouds.module, line 8

Code

function tagclouds_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'help.page.tagclouds':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('Tagclouds offers dynamic urls.') . '</p>';
      $output .= '<p>' . t('Visit example.com/tagclouds/list/{Taxonomy Vocabulary name} (for example "Tags") to get the vocabulary name, description and all tags.') . '</p>';
      $output .= '<p>' . t('Visit example.com/tagclouds/chunk/{Taxonomy Vocabulary name} (for example "Tags") to get a tag cloud of the terms for this vocabulary.') . '</p>';
      return $output;
  }
}