public function EntitySchema::getProperties

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

Overrides SchemaTermBase::getProperties

2 calls to EntitySchema::getProperties()
BundleSchema::getProperties in drupal/core/modules/rdf/lib/Drupal/rdf/SiteSchema/BundleSchema.php
Overrides \Drupal\rdf\SiteSchema\SchemaTermBase::getProperties().
EntitySchema::getGraph in drupal/core/modules/rdf/lib/Drupal/rdf/SiteSchema/EntitySchema.php
Implements \Drupal\rdf\SiteSchema\SchemaTermInterface::getGraph().
1 method overrides EntitySchema::getProperties()
BundleSchema::getProperties in drupal/core/modules/rdf/lib/Drupal/rdf/SiteSchema/BundleSchema.php
Overrides \Drupal\rdf\SiteSchema\SchemaTermBase::getProperties().

File

drupal/core/modules/rdf/lib/Drupal/rdf/SiteSchema/EntitySchema.php, line 67
Contains EntitySchema.

Class

EntitySchema
Defines RDF terms corresponding to Drupal entity types.

Namespace

Drupal\rdf\SiteSchema

Code

public function getProperties() {
  $properties = parent::getProperties();
  $properties[RdfConstants::RDF_TYPE] = RdfConstants::RDFS_CLASS;
  return $properties;
}