public function Mapping::setData in GatherContent 8.4
Same name and namespace in other branches
- 8.5 src/Entity/Mapping.php \Drupal\gathercontent\Entity\Mapping::setData()
- 8.3 src/Entity/Mapping.php \Drupal\gathercontent\Entity\Mapping::setData()
Setter for mapping data.
Parameters
string $data: Serialized object of mapping.
Overrides MappingInterface::setData
File
- src/
Entity/ Mapping.php, line 258
Class
- Mapping
- Defines the GatherContent Mapping entity.
Namespace
Drupal\gathercontent\EntityCode
public function setData($data) {
$this->data = $data;
}