You are here

public function ReferenceFinderInterface::findReferencesFor in Term reference change 8

Finds and loads all entities with a reference to the given term.

Parameters

\Drupal\taxonomy\TermInterface $term: The term to find references to.

Return value

\Drupal\Core\Entity\EntityInterface[] All entities referencing the given term.

1 method overrides ReferenceFinderInterface::findReferencesFor()
ReferenceFinder::findReferencesFor in src/ReferenceFinder.php
Finds and loads all entities with a reference to the given term.

File

src/ReferenceFinderInterface.php, line 21

Class

ReferenceFinderInterface
Defines an interface for a service that finds entities referencing a term.

Namespace

Drupal\term_reference_change

Code

public function findReferencesFor(TermInterface $term);