function hook_less_paths in Less CSS Preprocessor 7.4
Same name and namespace in other branches
- 8 less.api.php \hook_less_paths()
Provide a list of lookup paths for @import statements in .less files.
Return value
string[]
1 function implements hook_less_paths()
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_paths in less_demo/
less_demo.less.inc - Implements hook_less_paths().
1 invocation of hook_less_paths()
- less_get_settings in ./
less.module - Returns the compiled list of variables and functions for a module/theme.
File
- ./
less.api.php, line 78 - Hooks provided by the Less module.
Code
function hook_less_paths() {
return array(
drupal_get_path('module', 'less_demo') . '/libs',
);
}