function theme_entityqueue_overview_item in Entityqueue 7
Returns the HTML used for a queue on the entityqueue overview listing.
1 theme call to theme_entityqueue_overview_item()
- entityqueue_export_ui::list_build_row in plugins/
ctools/ export_ui/ entityqueue_export_ui.class.php - Overrides ctools_export_ui::list_build_row().
File
- includes/
entityqueue.theme.inc, line 13 - Contains theme implementations for the Entityqueue module.
Code
function theme_entityqueue_overview_item($variables) {
$output = '<strong>' . check_plain($variables['label']) . '</strong>';
if ($variables['name']) {
$output .= ' <small> (' . t('Machine name') . ': ' . check_plain($variables['name']) . ')</small>';
}
$output = '<div class="entityqueue-title">' . $output . '</div>';
if ($variables['status']) {
$output .= '<div class="entityqueue-status">' . theme('entityqueue_status', array(
'status' => $variables['status'],
TRUE,
)) . '</div>';
}
return $output;
}