You are here

background_image_formatter.module in Simple Background image formatter 8

Same filename and directory in other branches
  1. 7 background_image_formatter.module

Background image formatter module.

File

background_image_formatter.module
View source
<?php

/**
 * @file
 * Background image formatter module.
 */

/**
 * Implements hook_theme().
 */
function background_image_formatter_theme($existing, $type, $theme, $path) {
  $items = [];
  $items['background_image_formatter_inline'] = [
    'variables' => [
      'background_image_selector' => NULL,
      'image_uri' => NULL,
    ],
  ];
  return $items;
}

Functions