public function BundleSchema::getProperties

Overrides \Drupal\rdf\SiteSchema\SchemaTermBase::getProperties().

Overrides EntitySchema::getProperties

File

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

Class

BundleSchema
Defines RDF terms corresponding to Drupal bundles.

Namespace

Drupal\rdf\SiteSchema

Code

public function getProperties() {
  $properties = parent::getProperties();
  $properties[RdfConstants::RDFS_SUB_CLASS_OF] = $this->siteSchema
    ->entity($this->entityType)
    ->getUri();
  return $properties;
}