function RdfMappingInterface::getPreparedFieldMapping
Same name in other branches
- 9 core/modules/rdf/src/RdfMappingInterface.php \Drupal\rdf\RdfMappingInterface::getPreparedFieldMapping()
Gets the prepared mapping for a field.
The prepared field 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.
Parameters
string $field_name: The name of the field.
Return value
array The prepared field mapping, or an empty array if there is no mapping.
1 method overrides RdfMappingInterface::getPreparedFieldMapping()
- RdfMapping::getPreparedFieldMapping in core/
modules/ rdf/ src/ Entity/ RdfMapping.php - Gets the prepared mapping for a field.
File
-
core/
modules/ rdf/ src/ RdfMappingInterface.php, line 76
Class
- RdfMappingInterface
- Provides an interface defining an RDF mapping entity.
Namespace
Drupal\rdfCode
public function getPreparedFieldMapping($field_name);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.