RdfMapping::getPreparedBundleMapping

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

Class

RdfMapping
Config entity for working with RDF mappings.

Namespace

Drupal\rdf\Entity

Code

public function getPreparedBundleMapping() {
  return array('types' => $this->types);
}
doc_Drupal
2016-10-29 09:36:28
Comments
Leave a Comment

Please login to continue.