function easy_breadcrumb_theme in Easy Breadcrumb 7
Same name and namespace in other branches
- 6 easy_breadcrumb.module \easy_breadcrumb_theme()
- 7.2 easy_breadcrumb.module \easy_breadcrumb_theme()
Implements hook_theme().
Parameters
array $existing: An array of existing implementations that may be used for override purposes. This is primarily useful for themes that may wish to examine existing implementations to extract data (such as arguments) so that it may properly register its own, higher priority implementations.
string $type: What 'type' is being processed. This is primarily useful so that themes tell if they are the actual theme being called or a parent theme. May be one of: module: A module is being checked for theme implementations. base_theme_engine: A theme engine is being checked for a theme which is a parent of the actual theme being used. theme_engine: A theme engine is being checked for the actual theme being used. base_theme: A base theme is being checked for theme implementations. theme: The actual theme in use is being checked.
string $theme: The actual name of theme that is being being checked (mostly only useful for theme engine).
string $path: The directory path of the theme or module, so that it doesn't need to be looked up.
Return value
Assoc A keyed array of theme hooks.
File
- ./
easy_breadcrumb.module, line 85 - The Easy Breadcrumb module provides a block to be embedded in any page, typically at some place near the page's header. Easy Breadcrumb uses the URL (path alias) and the current page's title (when available) to obtain the breadcrumb's…
Code
function easy_breadcrumb_theme($existing, $type, $theme, $path) {
return array(
'easy_breadcrumb' => array(
'variables' => array(
'breadcrumb' => NULL,
'segments_quantity' => NULL,
'separator' => NULL,
),
),
);
}