QueryPluginManager.php 495 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11
<?php

/**
 * @file
 * Definition of Drupal\views\Plugins\Type\QueryPluginManager.
 */

namespace Drupal\views\Plugins\Type;

use Drupal\Component\Plugin\PluginManagerBase;
use Drupal\Component\Plugin\Factory\DefaultFactory;
12
use Drupal\Core\Plugin\Discovery\AnnotatedClassDiscovery;
13 14 15

class QueryPluginManager extends PluginManagerBase {
  public function __construct() {
16
    $this->discovery = new AnnotatedClassDiscovery('views', 'query');
17 18 19
    $this->factory = new DefaultFactory($this);
  }
}