public function BundleSchema::__construct

Constructor.

Parameters

\Drupal\rdf\SiteSchema\SiteSchema $site_schema: The schema the term is defined in.

string $entity_type: The entity type.

string $bundle: The bundle.

Overrides EntitySchema::__construct

File

drupal/core/modules/rdf/lib/Drupal/rdf/SiteSchema/BundleSchema.php, line 42
Contains BundleSchema.

Class

BundleSchema
Defines RDF terms corresponding to Drupal bundles.

Namespace

Drupal\rdf\SiteSchema

Code

public function __construct($site_schema, $entity_type, $bundle) {
  parent::__construct($site_schema, $entity_type);
  $this->bundle = $bundle;
}