public function RdfMapping::getPreparedBundleMapping in Drupal 10
Same name and namespace in other branches
- 8 core/modules/rdf/src/Entity/RdfMapping.php \Drupal\rdf\Entity\RdfMapping::getPreparedBundleMapping()
- 9 core/modules/rdf/src/Entity/RdfMapping.php \Drupal\rdf\Entity\RdfMapping::getPreparedBundleMapping()
Gets the mapping for the bundle-level data.
The prepared bundle mapping should be used when outputting data in RDF serializations such as RDFa. In the prepared mapping, the mapping configuration's CURIE arrays are processed into CURIE strings suitable for output.
Return value
array The bundle mapping.
Overrides RdfMappingInterface::getPreparedBundleMapping
File
- core/
modules/ rdf/ src/ Entity/ RdfMapping.php, line 75
Class
- RdfMapping
- Config entity for working with RDF mappings.
Namespace
Drupal\rdf\EntityCode
public function getPreparedBundleMapping() {
return [
'types' => $this->types,
];
}