Open Data Catalog v2.0.0
Drupal\dkan_data\Storage\Data Class Reference
Inheritance diagram for Drupal\dkan_data\Storage\Data:

Public Member Functions

 __construct (EntityTypeManagerInterface $entityTypeManager)
 
 setSchema ($schema_id)
 
 retrieveAll ()
 
 retrieve (string $id)
 
 remove (string $id)
 
 store ($data, string $id=NULL)
 

Detailed Description

Data.

Definition at line 16 of file Data.php.

Constructor & Destructor Documentation

◆ __construct()

Drupal\dkan_data\Storage\Data::__construct ( EntityTypeManagerInterface  $entityTypeManager)

Constructor.

Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface$entityTypeManagerInjected entity type manager.

Definition at line 38 of file Data.php.

Member Function Documentation

◆ remove()

Drupal\dkan_data\Storage\Data::remove ( string  $id)

Inherited.

.

Definition at line 106 of file Data.php.

◆ retrieve()

Drupal\dkan_data\Storage\Data::retrieve ( string  $id)

Inherited.

.

Definition at line 87 of file Data.php.

◆ retrieveAll()

Drupal\dkan_data\Storage\Data::retrieveAll ( )

Inherited.

.

Definition at line 57 of file Data.php.

◆ setSchema()

Drupal\dkan_data\Storage\Data::setSchema (   $schema_id)

Sets the data type.

Parameters
string$schema_idThe data type.

Definition at line 48 of file Data.php.

◆ store()

Drupal\dkan_data\Storage\Data::store (   $data,
string  $id = NULL 
)

Inherited.

.

Definition at line 118 of file Data.php.