You are here

function background_image_token_info in Background Image 8

Same name and namespace in other branches
  1. 2.x background_image.module \background_image_token_info()
  2. 2.0.x background_image.module \background_image_token_info()

Implements hook_token_info().

File

./background_image.module, line 144
Background Image module's procedural hooks and functions.

Code

function background_image_token_info() {
  $info['types']['background_image'] = [
    'name' => t('Background Image'),
    'description' => t('Tokens related to individual background images.'),
    'needs-data' => 'background_image',
  ];
  return $info;
}