public function SchemaTermBase::__construct

Constructor.

Parameters

\Drupal\rdf\SiteSchema\SiteSchema $site_schema: The namespace.

1 call to SchemaTermBase::__construct()
EntitySchema::__construct in drupal/core/modules/rdf/lib/Drupal/rdf/SiteSchema/EntitySchema.php
Constructor.
1 method overrides SchemaTermBase::__construct()
EntitySchema::__construct in drupal/core/modules/rdf/lib/Drupal/rdf/SiteSchema/EntitySchema.php
Constructor.

File

drupal/core/modules/rdf/lib/Drupal/rdf/SiteSchema/SchemaTermBase.php, line 37
Contains SchemaTermBase.

Class

SchemaTermBase
Base class to define an RDF term in a schema.

Namespace

Drupal\rdf\SiteSchema

Code

public function __construct($site_schema) {
  $this->siteSchema = $site_schema;
}