for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Drupal\graphql\Plugin\GraphQL;
use Drupal\Core\Extension\ModuleHandlerInterface;
use Drupal\Core\Plugin\DefaultPluginManager;
use Traversable;
/**
* Base class for type system plugin managers or all sorts.
*/
class TypeSystemPluginManager extends DefaultPluginManager {
* {@inheritdoc}
public function __construct(
$pluginSubdirectory,
Traversable $namespaces,
ModuleHandlerInterface $moduleHandler,
$pluginInterface,
$pluginAnnotationName,
$pluginType
) {
// Allow altering plugin definitions through a hook.
$this->alterInfo($pluginType);
parent::__construct(
$namespaces,
$moduleHandler,
$pluginAnnotationName
);
}