You are here

public function Mapping::getData in GatherContent 8.4

Same name and namespace in other branches
  1. 8.5 src/Entity/Mapping.php \Drupal\gathercontent\Entity\Mapping::getData()
  2. 8.3 src/Entity/Mapping.php \Drupal\gathercontent\Entity\Mapping::getData()

Getter for mapping data.

Return value

string Serialized object of mapping.

Overrides MappingInterface::getData

File

src/Entity/Mapping.php, line 251

Class

Mapping
Defines the GatherContent Mapping entity.

Namespace

Drupal\gathercontent\Entity

Code

public function getData() {
  return $this
    ->get('data');
}