public function RdfMapping::id in Drupal 9
Same name and namespace in other branches
- 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 EntityBase::id
File
- core/
modules/ rdf/ src/ Entity/ RdfMapping.php, line 137
Class
- RdfMapping
- Config entity for working with RDF mappings.
Namespace
Drupal\rdf\EntityCode
public function id() {
return $this->targetEntityType . '.' . $this->bundle;
}