imagefield_tokens.module in ImageField Tokens 8
Same filename and directory in other branches
Contains functions related to the module functionality and Drupal hooks.
File
imagefield_tokens.moduleView source
<?php
/**
* @file
* Contains functions related to the module functionality and Drupal hooks.
*/
use Drupal\Core\Routing\RouteMatchInterface;
/**
* Implements hook_help().
*/
function imagefield_tokens_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
// Main module help for the image_field_tokens module.
case 'help.page.image_field_tokens':
$output = '';
$output .= '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t('The ImageField Tokens module extends
the default functionality of Image Widget and Formatter and adding
the ability to specify default values and use content entity tokens
in the Alt and Title text.') . '</p>';
return $output;
default:
}
}
Functions
Name | Description |
---|---|
imagefield_tokens_help | Implements hook_help(). |