You are here

quick_node_block.module in Quick Node Block 8

Module file for quick_node_block.

Module for add node and his display in a block.

File

quick_node_block.module
View source
<?php

/**
 * @file
 * Module file for quick_node_block.
 *
 * Module for add node and his display in a block.
 */
use Drupal\Core\Routing\RouteMatchInterface;

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

    // Main module help for the Go Back module.
    case 'help.page.quick_node_block':
      $output = '';
      $output .= '<h3>' . t('About Quick Node Block') . '</h3>';
      $output .= '<p>' . t('The Quick Node Block module display a content in a block with the specified display mode.') . '</p>';
      return $output;
    default:
  }
}

Functions

Namesort descending Description
quick_node_block_help Implements hook_help().