original_string: public function navbar_plugin_output() {
          $output = '';
  
          // Give subsystems an opportunity to inject extra html content. The callback
          // must always return a string containing valid html.
          foreach (\core_component::get_core_subsystems() as $name => $path) {
              if ($path) {
                  $output .= component_callback($name, 'render_navbar_output', [$this], '');
              }
          }
  
          if ($pluginsfunction = get_plugins_with_function('render_navbar_output')) {
              foreach ($pluginsfunction as $plugintype => $plugins) {
                  foreach ($plugins as $pluginfunction) {
                      $output .= $pluginfunction($this);
                  }
              }
          }
  
          return $output;
      }
code: public function navbar_plugin_output() {
          $output = '';
  
          // Give subsystems an opportunity to inject extra html content. The callback
          // must always return a string containing valid html.
          foreach (\core_component::get_core_subsystems() as $name => $path) {
              if ($path) {
                  $output .= component_callback($name, 'render_navbar_output', [$this], '');
              }
          }
  
          if ($pluginsfunction = get_plugins_with_function('render_navbar_output')) {
              foreach ($pluginsfunction as $plugintype => $plugins) {
                  foreach ($plugins as $pluginfunction) {
                      $output .= $pluginfunction($this);
                  }
              }
          }
  
          return $output;
      }
code_tokens: public function navbar_plugin_output ( ) { $ output = '' ; // Give subsystems an opportunity to inject extra html content. The callback // must always return a string containing valid html. foreach ( \ core_component :: get_core_subsystems ( ) as $ name => $ path ) { if ( $ path ) { $ output .= component_callback ( $ name , 'render_navbar_output' , [ $ this ] , '' ) ; } } if ( $ pluginsfunction = get_plugins_with_function ( 'render_navbar_output' ) ) { foreach ( $ pluginsfunction as $ plugintype => $ plugins ) { foreach ( $ plugins as $ pluginfunction ) { $ output .= $ pluginfunction ( $ this ) ; } } } return $ output ; }
docstring: Allow plugins to provide some content to be rendered in the navbar.
  The plugin must define a PLUGIN_render_navbar_output function that returns
  the HTML they wish to add to the navbar.
  
  @return string HTML for the navbar
docstring_tokens: Allow plugins to provide some content to be rendered in the navbar . The plugin must define a PLUGIN_render_navbar_output function that returns the HTML they wish to add to the navbar .