original_string: protected function init_pluginsinfo_property() {
          if (is_array($this->pluginsinfo)) {
              return;
          }
          $this->pluginsinfo = array();
  
          $plugintypes = $this->get_plugin_types();
  
          foreach ($plugintypes as $plugintype => $plugintyperootdir) {
              $this->pluginsinfo[$plugintype] = null;
          }
  
          // Add orphaned subplugin types.
          $this->load_installed_plugins();
          foreach ($this->installedplugins as $plugintype => $unused) {
              if (!isset($plugintypes[$plugintype])) {
                  $this->pluginsinfo[$plugintype] = null;
              }
          }
      }
code: protected function init_pluginsinfo_property() {
          if (is_array($this->pluginsinfo)) {
              return;
          }
          $this->pluginsinfo = array();
  
          $plugintypes = $this->get_plugin_types();
  
          foreach ($plugintypes as $plugintype => $plugintyperootdir) {
              $this->pluginsinfo[$plugintype] = null;
          }
  
          // Add orphaned subplugin types.
          $this->load_installed_plugins();
          foreach ($this->installedplugins as $plugintype => $unused) {
              if (!isset($plugintypes[$plugintype])) {
                  $this->pluginsinfo[$plugintype] = null;
              }
          }
      }
code_tokens: protected function init_pluginsinfo_property ( ) { if ( is_array ( $ this -> pluginsinfo ) ) { return ; } $ this -> pluginsinfo = array ( ) ; $ plugintypes = $ this -> get_plugin_types ( ) ; foreach ( $ plugintypes as $ plugintype => $ plugintyperootdir ) { $ this -> pluginsinfo [ $ plugintype ] = null ; } // Add orphaned subplugin types. $ this -> load_installed_plugins ( ) ; foreach ( $ this -> installedplugins as $ plugintype => $ unused ) { if ( ! isset ( $ plugintypes [ $ plugintype ] ) ) { $ this -> pluginsinfo [ $ plugintype ] = null ; } } }
docstring: Init placeholder array for plugin infos.
docstring_tokens: Init placeholder array for plugin infos .