RdfMappingInterface::setFieldMapping

public RdfMappingInterface::setFieldMapping($field_name, array $mapping = array())

Sets the mapping config for a field.

Parameters

string $field_name: The name of the field.

array $mapping: The field mapping.

Return value

\Drupal\rdf\Entity\RdfMapping The RdfMapping object.

File

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

Class

RdfMappingInterface
Provides an interface defining an RDF mapping entity.

Namespace

Drupal\rdf

Code

public function setFieldMapping($field_name, array $mapping = array());
doc_Drupal
2016-10-29 09:36:32
Comments
Leave a Comment

Please login to continue.