Exemplo n.º 1
0
 /**
  * Constructs a QueryFactory object.
  *
  * @param \Drupal\Core\Config\ConfigFactoryInterface $config_factory
  *   The config storage used by the config entity query.
  * @param \Drupal\Core\KeyValueStore\KeyValueFactoryInterface $key_value
  *   The key value factory.
  * @param \Drupal\Core\Config\ConfigManagerInterface $config_manager
  *   The configuration manager.
  */
 public function __construct(ConfigFactoryInterface $config_factory, KeyValueFactoryInterface $key_value, ConfigManagerInterface $config_manager)
 {
     $this->configFactory = $config_factory;
     $this->keyValueFactory = $key_value;
     $this->configManager = $config_manager;
     $this->namespaces = QueryBase::getNamespaces($this);
 }
Exemplo n.º 2
0
 /**
  * Constructs a QueryFactory object.
  *
  * @param \Drupal\rdf_entity\Database\Driver\sparql\Connection $connection
  *    The connection object.
  * @param \Drupal\Core\Entity\EntityTypeManager $entity_type_manager
  *    The entity type manager.
  * @param \Drupal\rdf_entity\RdfGraphHandler $rdf_graph_handler
  *    The rdf graph helper service.
  * @param \Drupal\rdf_entity\RdfMappingHandler $rdf_mapping_handler
  *    The rdf mapping helper service.
  */
 public function __construct(Connection $connection, EntityTypeManager $entity_type_manager, RdfGraphHandler $rdf_graph_handler, RdfMappingHandler $rdf_mapping_handler)
 {
     $this->connection = $connection;
     $this->namespaces = QueryBase::getNamespaces($this);
     $this->entityTypeManager = $entity_type_manager;
     $this->graphHandler = $rdf_graph_handler;
     $this->mappingHandler = $rdf_mapping_handler;
 }
Exemplo n.º 3
0
 /**
  * Constructs a QueryFactory object.
  *
  * @param \Drupal\Core\Database\Connection $connection
  *   The database connection used by the entity query.
  */
 public function __construct(Connection $connection)
 {
     $this->connection = $connection;
     $this->namespaces = QueryBase::getNamespaces($this);
 }
Exemplo n.º 4
0
 /**
  * Constructs a QueryFactory object.
  */
 public function __construct()
 {
     $this->namespaces = QueryBase::getNamespaces($this);
 }
Exemplo n.º 5
0
 /**
  * Constructs a QueryFactory object.
  *
  * @param \Drupal\Core\Config\StorageInterface $config_storage
  *   The config storage used by the config entity query.
  * @param \Drupal\Core\Config\ConfigFactoryInterface $config_factory
  *   The config storage used by the config entity query.
  */
 public function __construct(ConfigFactoryInterface $config_factory)
 {
     $this->configFactory = $config_factory;
     $this->namespaces = QueryBase::getNamespaces($this);
 }