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