You are here

webform_node_element.module in Webform Node Element 8

Same filename and directory in other branches
  1. 6 webform_node_element.module
  2. 7 webform_node_element.module

File

webform_node_element.module
View source
<?php

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

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

    // Main module help for the webform_node_element module.
    case 'help.page.webform_node_element':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('Displays a node as a webform element.') . '</p>';
      return $output;
    default:
  }
}

Functions

Namesort descending Description
webform_node_element_help Implements hook_help().