You are here

public function GlobalTemplateCollection::getTemplates in Courier 8

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

Get configuration for all template types.

Return value

array Template configuration keyed by template entity type ID's.

Overrides GlobalTemplateCollectionInterface::getTemplates

1 call to GlobalTemplateCollection::getTemplates()
GlobalTemplateCollection::getTemplate in src/Entity/GlobalTemplateCollection.php
Get configuration for a single template type.

File

src/Entity/GlobalTemplateCollection.php, line 65

Class

GlobalTemplateCollection
Defines a sync-able template collection.

Namespace

Drupal\courier\Entity

Code

public function getTemplates() {
  return $this->templates;
}