You are here

public function RdfMapping::id in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/rdf/src/Entity/RdfMapping.php \Drupal\rdf\Entity\RdfMapping::id()

Gets the identifier.

Return value

string|int|null The entity identifier, or NULL if the object does not yet have an identifier.

Overrides Entity::id

File

core/modules/rdf/src/Entity/RdfMapping.php, line 135
Contains \Drupal\rdf\Entity\RdfMapping.

Class

RdfMapping
Config entity for working with RDF mappings.

Namespace

Drupal\rdf\Entity

Code

public function id() {
  return $this->targetEntityType . '.' . $this->bundle;
}