You are here

function front_page_help in Front Page 8

Same name and namespace in other branches
  1. 5 front_page.module \front_page_help()
  2. 6.2 front_page.module \front_page_help()
  3. 6 front_page.module \front_page_help()
  4. 7.2 front_page.module \front_page_help()
  5. 7 front_page.module \front_page_help()
  6. 9.1.x front_page.module \front_page_help()

Implements hook_help().

File

./front_page.module, line 21
This module allows the site admin to set advanced front page settings.

Code

function front_page_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'front_page.settings':
      return t('<p>Setup custom front pages for your site.</p>');
    case 'help.page.front_page':
      return t('<p>If a HOME link is set, the &lt;front&gt; placeholder will be replaced with this value instead of the standard front page.</p>');
  }
}