You are here

function theme_features_component_key in Features 7

Same name and namespace in other branches
  1. 6 theme/theme.inc \theme_features_component_key()
  2. 7.2 theme/theme.inc \theme_features_component_key()

Provide a themed key for a component list.

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 325

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>";
}