function RdfMapping::getFieldMapping
File
-
core/
modules/ rdf/ src/ Entity/ RdfMapping.php, line 119
Class
- RdfMapping
- Config entity for working with RDF mappings.
Namespace
Drupal\rdf\EntityCode
public function getFieldMapping($field_name) {
if (isset($this->fieldMappings[$field_name])) {
return $this->fieldMappings[$field_name];
}
return [];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.