You are here

function theme_flexiform_ui_overview_item in Flexiform 7

Render an item on the flexiform overview page.

1 theme call to theme_flexiform_ui_overview_item()
FlexiformUIController::overviewTableRow in ./flexiform.admin.inc
Overrides overviewTableRow();

File

./flexiform.admin.inc, line 2081
Model type editing UI.

Code

function theme_flexiform_ui_overview_item($variables) {
  $output = $variables['url'] ? l($variables['label'], $variables['url']['path'], $variables['url']['options']) : check_plain($variables['label']);
  if ($variables['name']) {
    $output .= ' <small> (' . t('Machine name') . ': ' . check_plain($variables['name']) . ')</small>';
  }
  if ($variables['tags']) {
    $output .= '<br /><small>' . t('Tags') . ': ' . check_plain($variables['tags']) . '</small>';
  }
  return $output;
}