You are here

public function Mapping::getTemplate in GatherContent 8.3

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

Getter for GatherContent template serialized object.

Return value

string Serialized GatherContent template.

Overrides MappingInterface::getTemplate

File

src/Entity/Mapping.php, line 257

Class

Mapping
Defines the GatherContent Mapping entity.

Namespace

Drupal\gathercontent\Entity

Code

public function getTemplate() {
  return $this
    ->get('template');
}