Same name and namespace in other branches
  1. 7.x-2.x easy_breadcrumb.module \easy_breadcrumb_theme()

Implements hook_theme().

Paramètres

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.

Fichier

./easy_breadcrumb.module, line 85

Code

function easy_breadcrumb_theme($existing, $type, $theme, $path) {
    return array(
        'easy_breadcrumb' => array(
            'variables' => array(
                'breadcrumb' => NULL,
                'segments_quantity' => NULL,
                'separator' => NULL,
            ),
        ),
    );
}