You are here

function imagefield_tokens_help in ImageField Tokens 7

Same name and namespace in other branches
  1. 8.2 imagefield_tokens.module \imagefield_tokens_help()
  2. 8 imagefield_tokens.module \imagefield_tokens_help()

Provides help notes related to the module functionality.

Parameters

string $path: Page path.

mixed $arg: Arguments set.

Return value

array|mixed|string|null Returns help page data.

File

./imagefield_tokens.module, line 274
Implements image Alt and Title field defaults with support for tokens.

Code

function imagefield_tokens_help($path, $arg) {
  switch ($path) {
    case 'admin/help#imagefield_tokens':

      // Return module help info.
      $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;
  }
}