public function Mapping::setData in GatherContent 8.5
Same name and namespace in other branches
- 8.3 src/Entity/Mapping.php \Drupal\gathercontent\Entity\Mapping::setData()
 - 8.4 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 311  
Class
- Mapping
 - Defines the GatherContent Mapping entity.
 
Namespace
Drupal\gathercontent\EntityCode
public function setData($data) {
  $this->data = $data;
}