original_string: public function pluginDetails()
      {
          $thisClass = get_class($this);
  
          $configuration = $this->getConfigurationFromYaml(sprintf('Plugin configuration file plugin.yaml is not '.
              'found for the plugin class %s. Create the file or override pluginDetails() '.
              'method in the plugin class.', $thisClass));
  
          if (!array_key_exists('plugin', $configuration)) {
              throw new SystemException(sprintf(
                  'The plugin configuration file plugin.yaml should contain the "plugin" section: %s.', $thisClass)
              );
          }
  
          return $configuration['plugin'];
      }
code: public function pluginDetails()
      {
          $thisClass = get_class($this);
  
          $configuration = $this->getConfigurationFromYaml(sprintf('Plugin configuration file plugin.yaml is not '.
              'found for the plugin class %s. Create the file or override pluginDetails() '.
              'method in the plugin class.', $thisClass));
  
          if (!array_key_exists('plugin', $configuration)) {
              throw new SystemException(sprintf(
                  'The plugin configuration file plugin.yaml should contain the "plugin" section: %s.', $thisClass)
              );
          }
  
          return $configuration['plugin'];
      }
code_tokens: public function pluginDetails ( ) { $ thisClass = get_class ( $ this ) ; $ configuration = $ this -> getConfigurationFromYaml ( sprintf ( 'Plugin configuration file plugin.yaml is not ' . 'found for the plugin class %s. Create the file or override pluginDetails() ' . 'method in the plugin class.' , $ thisClass ) ) ; if ( ! array_key_exists ( 'plugin' , $ configuration ) ) { throw new SystemException ( sprintf ( 'The plugin configuration file plugin.yaml should contain the "plugin" section: %s.' , $ thisClass ) ) ; } return $ configuration [ 'plugin' ] ; }
docstring: Returns information about this plugin, including plugin name and developer name.
  
  @return array
  @throws SystemException
docstring_tokens: Returns information about this plugin including plugin name and developer name .