You are here

public function GlobalTemplateCollectionInterface::getTemplateCollection in Courier 2.x

Same name and namespace in other branches
  1. 8 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

public function getTemplateCollection();