You are here

public function Mapping::setData in GatherContent 8.5

Same name and namespace in other branches
  1. 8.3 src/Entity/Mapping.php \Drupal\gathercontent\Entity\Mapping::setData()
  2. 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\Entity

Code

public function setData($data) {
  $this->data = $data;
}