You are here

protected function KeywordSelection::buildEntityQuery in Bibliography & Citation 8

Same name and namespace in other branches
  1. 2.0.x modules/bibcite_entity/src/Plugin/EntityReferenceSelection/KeywordSelection.php \Drupal\bibcite_entity\Plugin\EntityReferenceSelection\KeywordSelection::buildEntityQuery()

Builds an EntityQuery to get referenceable entities.

Parameters

string|null $match: (Optional) Text to match the label against. Defaults to NULL.

string $match_operator: (Optional) The operation the matching should be done with. Defaults to "CONTAINS".

Return value

\Drupal\Core\Entity\Query\QueryInterface The EntityQuery object with the basic conditions and sorting applied to it.

Overrides DefaultSelection::buildEntityQuery

File

modules/bibcite_entity/src/Plugin/EntityReferenceSelection/KeywordSelection.php, line 25

Class

KeywordSelection
Provides specific access control for the contributor entity type.

Namespace

Drupal\bibcite_entity\Plugin\EntityReferenceSelection

Code

protected function buildEntityQuery($match = NULL, $match_operator = 'CONTAINS') {
  $this->configuration['target_bundles'] = NULL;
  return parent::buildEntityQuery($match, $match_operator);
}