original_string: protected static function _getConfigForLoad($path)
      {
          $config    = ['autoload' => true];
          $routes    = $path . 'config' . DS . Plugin::FILE_ROUTES;
          $bootstrap = $path . 'config' . DS . Plugin::FILE_BOOTSTRAP;
  
          if (FS::isFile($bootstrap)) {
              $config['bootstrap'] = true;
          }
  
          if (FS::isFile($routes)) {
              $config['routes'] = true;
          }
  
          $config['path'] = $path;
  
          return $config;
      }
code: protected static function _getConfigForLoad($path)
      {
          $config    = ['autoload' => true];
          $routes    = $path . 'config' . DS . Plugin::FILE_ROUTES;
          $bootstrap = $path . 'config' . DS . Plugin::FILE_BOOTSTRAP;
  
          if (FS::isFile($bootstrap)) {
              $config['bootstrap'] = true;
          }
  
          if (FS::isFile($routes)) {
              $config['routes'] = true;
          }
  
          $config['path'] = $path;
  
          return $config;
      }
code_tokens: protected static function _getConfigForLoad ( $ path ) { $ config = [ 'autoload' => true ] ; $ routes = $ path . 'config' . DS . Plugin :: FILE_ROUTES ; $ bootstrap = $ path . 'config' . DS . Plugin :: FILE_BOOTSTRAP ; if ( FS :: isFile ( $ bootstrap ) ) { $ config [ 'bootstrap' ] = true ; } if ( FS :: isFile ( $ routes ) ) { $ config [ 'routes' ] = true ; } $ config [ 'path' ] = $ path ; return $ config ; }
docstring: Get plugin configuration for load plugin.
  
  @param string $path
  @return array
docstring_tokens: Get plugin configuration for load plugin .