You are here

public function RdfMappingInterface::getPreparedFieldMapping in Zircon Profile 8

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

Class

RdfMappingInterface
Provides an interface defining an RDF mapping entity.

Namespace

Drupal\rdf

Code

public function getPreparedFieldMapping($field_name);