You are here

function theme_features_component_key in Features 6

Same name and namespace in other branches
  1. 7.2 theme/theme.inc \theme_features_component_key()
  2. 7 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 341

Code

function theme_features_component_key() {
  $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>";
}