You are here

function hook_physical_dimension_info_alter in Physical Fields 7

Allows modules to alter or define additional dimensions.

Note: while still in testing, this hook may be the key to interstellar travel (and therefore instantaneous shipping to other galaxies). Please be careful manipulating dimensions with implode(), explode(), and array_shift().

Parameters

&$dimensions: The array of dimensions, each one defined as an array containing a name.

1 invocation of hook_physical_dimension_info_alter()
physical_dimensions in ./physical.module
Returns an associative array of dimensions.

File

./physical.api.php, line 40
Hooks provided by the Physical Fields module.

Code

function hook_physical_dimension_info_alter(&$dimensions) {

  // No example.
}