You are here

public function Mapping::setTemplate in GatherContent 8.3

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

Setter for GatherContent template serialized object.

Parameters

string $template: Serialized GatherContent template.

Overrides MappingInterface::setTemplate

File

src/Entity/Mapping.php, line 264

Class

Mapping
Defines the GatherContent Mapping entity.

Namespace

Drupal\gathercontent\Entity

Code

public function setTemplate($template) {
  $this->template = $template;
}