RdfMapping::id

public 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 130

Class

RdfMapping
Config entity for working with RDF mappings.

Namespace

Drupal\rdf\Entity

Code

public function id() {
  return $this->targetEntityType . '.' . $this->bundle;
}
doc_Drupal
2016-10-29 09:36:28
Comments
Leave a Comment

Please login to continue.