You are here

function hook_less_functions_alter in Less CSS Preprocessor 7.4

Same name and namespace in other branches
  1. 8 less.api.php \hook_less_functions_alter()
  2. 7.3 less.api.php \hook_less_functions_alter()

@link http://leafo.net/lessphp/docs/#custom_functions

Parameters

string[] $less_functions: Flat associative array of functions, where key is LESS function name and value is PHP function name or Anonymous function: (http://php.net/manual/en/functions.anonymous.php)

string $system_name: A string of the system_name of the module or theme that this applies to.

Deprecated

Alter LESS functions defined by modules/themes.

See also

hook_less_functions()

hook_less_functions_SYSTEM_NAME_alter()

1 function implements hook_less_functions_alter()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

less_demo_less_functions_alter in less_demo/less_demo.less.inc
Implements hook_less_functions_alter().
1 invocation of hook_less_functions_alter()
less_get_settings in ./less.module
Returns the compiled list of variables and functions for a module/theme.

File

./less.api.php, line 150
Hooks provided by the Less module.

Code

function hook_less_functions_alter(array &$less_functions, $system_name) {
}