original_string: public function get_plugins() {
          $this->init_pluginsinfo_property();
  
          // Make sure all types are initialised.
          foreach ($this->pluginsinfo as $plugintype => $list) {
              if ($list === null) {
                  $this->get_plugins_of_type($plugintype);
              }
          }
  
          return $this->pluginsinfo;
      }
code: public function get_plugins() {
          $this->init_pluginsinfo_property();
  
          // Make sure all types are initialised.
          foreach ($this->pluginsinfo as $plugintype => $list) {
              if ($list === null) {
                  $this->get_plugins_of_type($plugintype);
              }
          }
  
          return $this->pluginsinfo;
      }
code_tokens: public function get_plugins ( ) { $ this -> init_pluginsinfo_property ( ) ; // Make sure all types are initialised. foreach ( $ this -> pluginsinfo as $ plugintype => $ list ) { if ( $ list === null ) { $ this -> get_plugins_of_type ( $ plugintype ) ; } } return $ this -> pluginsinfo ; }
docstring: Returns a tree of known plugins and information about them
  
  @return array 2D array. The first keys are plugin type names (e.g. qtype);
  the second keys are the plugin local name (e.g. multichoice); and
  the values are the corresponding objects extending {@link \core\plugininfo\base}
docstring_tokens: Returns a tree of known plugins and information about them