themekey_example_mappers.inc in ThemeKey 7
Same filename and directory in other branches
Mapping functions of ThemeKey Example.
File
themekey_example/themekey_example_mappers.incView 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
Name | Description |
---|---|
themekey_example_dummy2number_one | ThemeKey mapping function to set a ThemeKey property's value (destination) with the aid of another ThemeKey property (source). |