Extension/ExtensionRegistry.php
public function getShowAdminTabs(UserInterface $user)
    {
        $tabs = [];
        foreach ($this->extensions as $name => $extension) {
            if (null !== $tab = $extension->getAdminShowTab($user)) {
                $tabs[$name] = $tab;
            }
        }
        uasort($tabs, function (ShowTabInterface $a, ShowTabInterface $b) {
            if ($a->getPosition() == $b->getPosition()) {
                return 0;
            }
            return $a->getPosition() > $b->getPosition() ? 1 : -1;
        });
        return $tabs;
    }
public function getShowAdminTabs(UserInterface $user)
    {
        $tabs = [];
        foreach ($this->extensions as $name => $extension) {
            if (null !== $tab = $extension->getAdminShowTab($user)) {
                $tabs[$name] = $tab;
            }
        }
        uasort($tabs, function (ShowTabInterface $a, ShowTabInterface $b) {
            if ($a->getPosition() == $b->getPosition()) {
                return 0;
            }
            return $a->getPosition() > $b->getPosition() ? 1 : -1;
        });
        return $tabs;
    }
public function getShowAdminTabs ( UserInterface $ user ) { $ tabs = [ ] ; foreach ( $ this -> extensions as $ name => $ extension ) { if ( null !== $ tab = $ extension -> getAdminShowTab ( $ user ) ) { $ tabs [ $ name ] = $ tab ; } } uasort ( $ tabs , function ( ShowTabInterface $ a , ShowTabInterface $ b ) { if ( $ a -> getPosition ( ) == $ b -> getPosition ( ) ) { return 0 ; } return $ a -> getPosition ( ) > $ b -> getPosition ( ) ? 1 : - 1 ; } ) ; return $ tabs ; }
Returns the show admin tabs.

@param UserInterface $user
@return array
Returns the show admin tabs .