Open Data Catalog v
Drupal\metastore\Storage\DataFactory Class Reference
Inheritance diagram for Drupal\metastore\Storage\DataFactory:

Public Member Functions

 __construct (EntityTypeManager $entityTypeManager)
 
 getInstance (string $identifier, array $config=[])
 

Static Public Member Functions

static getStorageClass ()
 

Protected Member Functions

 createNodeInstance (string $identifier)
 

Detailed Description

Data factory.

Definition at line 11 of file DataFactory.php.

Constructor & Destructor Documentation

◆ __construct()

Drupal\metastore\Storage\DataFactory::__construct ( EntityTypeManager  $entityTypeManager)

Constructor.

Definition at line 30 of file DataFactory.php.

Member Function Documentation

◆ createNodeInstance()

Drupal\metastore\Storage\DataFactory::createNodeInstance ( string  $identifier)
protected

Create node instance.

Parameters
string$identifierSchema id.
Returns
\Drupal\metastore\Storage\NodeData Storage object.

Definition at line 81 of file DataFactory.php.

◆ getInstance()

Drupal\metastore\Storage\DataFactory::getInstance ( string  $identifier,
array  $config = [] 
)

Inherited.

Definition at line 39 of file DataFactory.php.

◆ getStorageClass()

static Drupal\metastore\Storage\DataFactory::getStorageClass ( )
static

Get the storage class name for this factory.

Returns
string Qualified storage class name.

Definition at line 91 of file DataFactory.php.