public function registerNavigation()
    {
        $configuration = $this->getConfigurationFromYaml();
        if (array_key_exists('navigation', $configuration)) {
            $navigation = $configuration['navigation'];

            if (is_array($navigation)) {
                array_walk_recursive($navigation, function (&$item, $key) {
                    if ($key === 'url') {
                        $item = Backend::url($item);
                    }
                });
            }

            return $navigation;
        }
    }
public function registerNavigation()
    {
        $configuration = $this->getConfigurationFromYaml();
        if (array_key_exists('navigation', $configuration)) {
            $navigation = $configuration['navigation'];

            if (is_array($navigation)) {
                array_walk_recursive($navigation, function (&$item, $key) {
                    if ($key === 'url') {
                        $item = Backend::url($item);
                    }
                });
            }

            return $navigation;
        }
    }
public function registerNavigation ( ) { $ configuration = $ this -> getConfigurationFromYaml ( ) ; if ( array_key_exists ( 'navigation' , $ configuration ) ) { $ navigation = $ configuration [ 'navigation' ] ; if ( is_array ( $ navigation ) ) { array_walk_recursive ( $ navigation , function ( & $ item , $ key ) { if ( $ key === 'url' ) { $ item = Backend :: url ( $ item ) ; } } ) ; } return $ navigation ; } }
Registers back-end navigation items for this plugin.

@return array
Registers back - end navigation items for this plugin .