drupal_find_base_themes
function drupal_find_base_themes
drupal_find_base_themes($themes, $key, $used_keys = array())
Find all the base themes for the specified theme.
Themes can inherit templates and function implementations from earlier themes.
Parameters
$themes: An array of available themes.
$key: The name of the theme whose base we are looking for.
$used_keys: A recursion parameter preventing endless loops.
Return value
Returns an array of all of the theme's ancestors; the first element's value will be NULL if an error occurred.
File
- includes/theme.inc, line 843
- The theme system, which controls the output of Drupal.
Code
function drupal_find_base_themes($themes, $key, $used_keys = array()) {