Open Data Catalog v2.0.0
Drupal\metastore\Reference\Dereferencer Class Reference

Public Member Functions

 __construct (ConfigFactoryInterface $configService, FactoryInterface $storageFactory)
 
 dereference ($data)
 

Detailed Description

Metastore dereferencer.

Definition at line 13 of file Dereferencer.php.

Constructor & Destructor Documentation

◆ __construct()

Drupal\metastore\Reference\Dereferencer::__construct ( ConfigFactoryInterface  $configService,
FactoryInterface  $storageFactory 
)

Constructor.

Definition at line 27 of file Dereferencer.php.

Member Function Documentation

◆ dereference()

Drupal\metastore\Reference\Dereferencer::dereference (   $data)

Replaces value references in a dataset with with their actual values.

Parameters
object$dataThe json metadata object.
Returns
mixed Modified json metadata object.

Definition at line 41 of file Dereferencer.php.