You are here

function GlobalTemplateCollectionInterface::getTemplateCollection in Courier 8

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

Get the local Template Collection for this global template collection.

Return value

\Drupal\courier\TemplateCollectionInterface A template collection entity.

Throws

\Drupal\courier\Exception\GlobalTemplateCollectionException Thrown if this global template collection is unsaved.

1 method overrides GlobalTemplateCollectionInterface::getTemplateCollection()
GlobalTemplateCollection::getTemplateCollection in src/Entity/GlobalTemplateCollection.php
Get the local Template Collection for this global template collection.

File

src/Entity/GlobalTemplateCollectionInterface.php, line 21

Class

GlobalTemplateCollectionInterface
Interface for global template collection entities.

Namespace

Drupal\courier\Entity

Code

function getTemplateCollection();