Open Data Catalog v2.0.0
Drupal\metastore\ReferenceLookupInterface Interface Reference
Inheritance diagram for Drupal\metastore\ReferenceLookupInterface:
Drupal\metastore\Reference\ReferenceLookup

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.

Parameters
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.
Returns
array Array of metastore UUIDs for matching items.

Implemented in Drupal\metastore\Reference\ReferenceLookup.