You are here

public function GlobalTemplateCollectionInterface::setTemplate in Courier 8

Same name and namespace in other branches
  1. 2.x src/Entity/GlobalTemplateCollectionInterface.php \Drupal\courier\Entity\GlobalTemplateCollectionInterface::setTemplate()

Set configuration for a template type.

Parameters

string $entity_type_id: A template entity type ID.

mixed $content: Mixed configuration for the template.

Return value

static Return this global template collection.

1 method overrides GlobalTemplateCollectionInterface::setTemplate()
GlobalTemplateCollection::setTemplate in src/Entity/GlobalTemplateCollection.php
Set configuration for a template type.

File

src/Entity/GlobalTemplateCollectionInterface.php, line 53

Class

GlobalTemplateCollectionInterface
Interface for global template collection entities.

Namespace

Drupal\courier\Entity

Code

public function setTemplate($entity_type_id, $content);