RdfMappingInterface::getFieldMapping

public RdfMappingInterface::getFieldMapping($field_name)

Gets the mapping config for a field.

This function returns the field 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 getPreparedFieldMapping() should be used instead.

Parameters

string $field_name: The name of the field.

Return value

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

File

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

Class

RdfMappingInterface
Provides an interface defining an RDF mapping entity.

Namespace

Drupal\rdf

Code

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

Please login to continue.