menu_local_tabs

  1. drupal
    1. 8
    2. 7
Versions
7 – 8 menu_local_tabs()

Returns a renderable element for the primary and secondary tabs.

Related topics

Code

includes/menu.inc, line 2229

<?php
function menu_local_tabs() {
  return array(
    '#theme' => 'menu_local_tasks', 
    '#primary' => menu_primary_local_tasks(), 
    '#secondary' => menu_secondary_local_tasks(),
  );
}
?>