public function SiteSchema::entity

Get an entity's term definition in this vocabulary.

File

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

Class

SiteSchema
Defines a site-generated schema.

Namespace

Drupal\rdf\SiteSchema

Code

public function entity($entity_type) {
  return new EntitySchema($this, $entity_type);
}