function RdfMapping::setBundleMapping
Same name in other branches
- 9 core/modules/rdf/src/Entity/RdfMapping.php \Drupal\rdf\Entity\RdfMapping::setBundleMapping()
Overrides RdfMappingInterface::setBundleMapping
File
-
core/
modules/ rdf/ src/ Entity/ RdfMapping.php, line 92
Class
- RdfMapping
- Config entity for working with RDF mappings.
Namespace
Drupal\rdf\EntityCode
public function setBundleMapping(array $mapping) {
if (isset($mapping['types'])) {
$this->types = $mapping['types'];
}
return $this;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.