public function BundleSchema::getUri

Implements \Drupal\rdf\SiteSchema\SchemaTermInterface::getUri().

Overrides EntitySchema::getUri

File

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

Class

BundleSchema
Defines RDF terms corresponding to Drupal bundles.

Namespace

Drupal\rdf\SiteSchema

Code

public function getUri() {
  $path = str_replace(array(
    '{entity_type}',
    '{bundle}',
  ), array(
    $this->entityType,
    $this->bundle,
  ), static::$uriPattern);
  return $this->siteSchema
    ->getUri() . '/' . $path;
}