function menu_icons_directory_path in Menu Icons 8
Same name and namespace in other branches
- 7.3 menu_icons.module \menu_icons_directory_path()
Returns the file directory path in which both the CSS file and the icons are stored.
3 calls to menu_icons_directory_path()
- menu_icons_css_generate in ./
menu_icons.module - Build CSS based on menu IDs
- menu_icons_form_submit in ./
menu_icons.module - Process the submitted form
- menu_icons_init in ./
menu_icons.module - Implementation of hook_init().
File
- ./
menu_icons.module, line 278 - Module to associate icons with menu items
Code
function menu_icons_directory_path($full = TRUE) {
$path = variable_get('menu_icons_image_folder', 'menu_icons');
$path_full = file_directory_path() . "/{$path}";
return $full ? $path_full : $path;
}