Open Data Catalog v
Drupal\metastore\ReferenceLookupInterface Interface Reference
Inheritance diagram for Drupal\metastore\ReferenceLookupInterface:

Public Member Functions

 getReferencers (string $schemaId, string $referenceId, string $propertyId)

Detailed Description

Service to find metastore items referencing an identifier.

Definition at line 8 of file ReferenceLookupInterface.php.

Member Function Documentation

◆ getReferencers()

Drupal\metastore\ReferenceLookupInterface::getReferencers ( string  $schemaId,
string  $referenceId,
string  $propertyId 

Get UUIDs of all metastore items referencing an ID through a property.

string$schemaIdThe type of metadata to look for references within.
string$referenceIdThe UUID of the reference we're looking for.
string$propertyIdThe metadata property we hope to find it in.
array Array of metastore UUIDs for matching items.

Implemented in Drupal\metastore\Reference\ReferenceLookup.