You are here

views_extras.module in Views Extras (Session/Cookie/Token Support) 8

Same filename and directory in other branches
  1. 2.x views_extras.module

Contains apf_custom.module.

File

views_extras.module
View source
<?php

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

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

    // Main module help for the apf_custom module.
    case 'help.page.apf_custom':
      $output = file_get_contents(drupal_get_path('module', 'views_extras') . '/README.md');
      return $output;
    default:
  }
}

Functions

Namesort descending Description
views_extras_help Implements hook_help().