You are here

function theme_context_ui_node_links in Context 5

Generates a themed set of links for node types associated with the current active contexts.

File

context_ui/context_ui.module, line 931

Code

function theme_context_ui_node_links() {
  $output = '';
  $links = _context_ui_node_links();
  foreach ($links as $link) {
    $output .= l('+ ' . t('Add !type', array(
      '!type' => $link['title'],
    )), $link['href'], array(
      'class' => 'button',
    ));
  }
  return $output;
}