function theme_features_component_key in Features 7.2
Same name and namespace in other branches
- 6 theme/theme.inc \theme_features_component_key()
- 7 theme/theme.inc \theme_features_component_key()
Provide a themed key for a component list.
Parameters
array $vars: Variables for this theme hook.
Return value
string Rendered HTML.
1 theme call to theme_features_component_key()
- theme_features_components in theme/
theme.inc - Theme a set of features export components.
File
- theme/
theme.inc, line 434 - Theme functions and (pre)processors for 'features' module.
Code
function theme_features_component_key($vars) {
$list = array();
$list[] = "<span class='features-source'>" . t('Normal') . "</span>";
$list[] = "<span class='features-detected'>" . t('Auto-detected') . "</span>";
$list[] = "<span class='features-dependency'>" . t('Provided by dependency') . "</span>";
return "<span class='features-component-list features-component-key'>" . implode(' ', $list) . "</span>";
}