RdfMappingInterface::getPreparedFieldMapping

public RdfMappingInterface::getPreparedFieldMapping($field_name)

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.

File

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

Class

RdfMappingInterface
Provides an interface defining an RDF mapping entity.

Namespace

Drupal\rdf

Code

public function getPreparedFieldMapping($field_name);
doc_Drupal
2016-10-29 09:36:31
Comments
Leave a Comment

Please login to continue.