You are here

blogapi.module in Blog API 8

Same filename and directory in other branches
  1. 7.2 blogapi.module
  2. 7 blogapi.module

Contains blogapi.module..

File

blogapi.module
View source
<?php

/**
 * @file
 * Contains blogapi.module..
 */
use Drupal\Core\Routing\RouteMatchInterface;

/**
 * Implements hook_help().
 */
function blogapi_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {

    // Main module help for the blogapi module.
    case 'help.page.blogapi':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('Blog API D8') . '</p>';
      return $output;
    default:
  }
}

Functions

Namesort descending Description
blogapi_help Implements hook_help().