domain_theme_get_color_path

Versions
domain
domain_theme_get_color_path($path)

Return the unique string path element used by color.module.

@ return A string indicating the color module's filepath.

Parameters

$path A path to a color module file, such as 'default/files/garland-00123451/style.css'.

Code

domain_theme/domain_theme.module, line 280

<?php
function domain_theme_get_color_path($path) {
  return current(array_slice(array_reverse(explode('/', $path)), 1, 1));
}
?>

Contact

  • agentrickard [at] gmail [dot] com

Donations

My Amazon.com Wish List