1 layout.theme.inc theme_layout_action_links($variables)

Output a list of action links for layouts.

File

core/modules/layout/layout.theme.inc, line 240
Theme functions for the Layout module.

Code

function theme_layout_action_links($variables) {
  $element = $variables['element'];
  $attributes = array('class' => array('action-links', 'layout-action-links'));

  $output = '<ul ' . backdrop_attributes($attributes) . '>';
  foreach (element_children($element) as $key) {
    $output .= '<li>' . backdrop_render($element[$key]) . '</li>';
  }
  $output .= '</ul>';
  return $output;
}