You are here

public function RdfMapping::getPreparedBundleMapping in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 73
Contains \Drupal\rdf\Entity\RdfMapping.

Class

RdfMapping
Config entity for working with RDF mappings.

Namespace

Drupal\rdf\Entity

Code

public function getPreparedBundleMapping() {
  return array(
    'types' => $this->types,
  );
}