You are here

themekey_example_mappers.inc in ThemeKey 7.3

Mapping functions of ThemeKey Example.

File

themekey_example/themekey_example_mappers.inc
View source
<?php

/**
 * @file
 *   Mapping functions of ThemeKey Example.
 */

/**
 * ThemeKey mapping function to set a
 * ThemeKey property's value (destination)
 * with the aid of another ThemeKey property (source).
 *
 * src: system:dummy
 * dst: example:number_one
 *
 * @param $dummy
 *   string containing current value of ThemeKey property system:dummy
 *
 * @return
 *   string "1"
 */
function themekey_example_dummy2number_one($dummy) {
  return "1";
}

Functions

Namesort descending Description
themekey_example_dummy2number_one ThemeKey mapping function to set a ThemeKey property's value (destination) with the aid of another ThemeKey property (source).