original_string: 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;
          }
      }
code: 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;
          }
      }
code_tokens: 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 ; } }
docstring: Registers back-end navigation items for this plugin.
  
  @return array
docstring_tokens: Registers back - end navigation items for this plugin .