function RdfMappingInterface::getBundleMapping

Same name in other branches
  1. 8.9.x core/modules/rdf/src/RdfMappingInterface.php \Drupal\rdf\RdfMappingInterface::getBundleMapping()

Gets the mapping config for the bundle-level data.

This function returns the bundle mapping as stored in config, which may contain CURIE arrays. If the mapping is needed for output in a serialization format, such as RDFa, then getPreparedBundleMapping() should be used instead.

Return value

array The bundle mapping, or an empty array if there is no mapping.

1 method overrides RdfMappingInterface::getBundleMapping()
RdfMapping::getBundleMapping in core/modules/rdf/src/Entity/RdfMapping.php
Gets the mapping config for the bundle-level data.

File

core/modules/rdf/src/RdfMappingInterface.php, line 36

Class

RdfMappingInterface
Provides an interface defining an RDF mapping entity.

Namespace

Drupal\rdf

Code

public function getBundleMapping();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.