function hook_sassy_resolve_path_NAMESPACE in Sassy 7.2
Allows definition of shorthand filepaths under a single namespace.
Parameters
NAMESPACE : the first segment of the filepath. For example, when: requesting "theme/foo", the hook is hook_sassy_resolve_path_theme. The namespaces is lowercased and all non alphanumeric characters are replaced with underscores. `S0me Path` => 's0me_path'.
$filename : the filename being requested for transformation. Any: restrictions on this outside of those inherent in SASS are left up to the implementor.
Return value
a filepath or array of filepathds relative to the Drupal basepath.
4 functions implement hook_sassy_resolve_path_NAMESPACE()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- sassy_bootstrap_sassy_resolve_path_bootstrap in extensions/
bootstrap/ sassy_bootstrap.module - Implementation of hook_sassy_resolve_path_NAMESPACE().
- sassy_compass_sassy_resolve_path_compass in extensions/
compass/ sassy_compass.module - Implementation of hook_sassy_resolve_path_NAMESPACE().
- sassy_foundation_sassy_resolve_path_foundation in extensions/
foundation/ sassy_foundation.module - Implementation hook_sassy_resolve_path_NAMESPACE().
- sassy_sassy_resolve_path_sassy in ./
sassy.module - Implementation of hook_sassy_resolve_path_NAMESPACE().
File
- ./
sassy.api.php, line 47 - Hooks provided by the Sassy module.
Code
function hook_sassy_resolve_path_NAMESPACE($filename) {
return array(
'one.sass',
'two.scss',
'three.css',
);
}