You are here

function GlobalTemplateCollectionManagerInterface::getGlobalCollectionForTemplate in Courier 8

Same name and namespace in other branches
  1. 2.x src/Service/GlobalTemplateCollectionManagerInterface.php \Drupal\courier\Service\GlobalTemplateCollectionManagerInterface::getGlobalCollectionForTemplate()

Get the global template collection associated with a template.

Parameters

\Drupal\courier\ChannelInterface $template: A template entity.

Return value

\Drupal\courier\Entity\GlobalTemplateCollectionInterface|FALSE A global template collection entity, or FALSE if the template is not associated with a global template collection.

1 method overrides GlobalTemplateCollectionManagerInterface::getGlobalCollectionForTemplate()
GlobalTemplateCollectionManager::getGlobalCollectionForTemplate in src/Service/GlobalTemplateCollectionManager.php
Get the global template collection associated with a template.

File

src/Service/GlobalTemplateCollectionManagerInterface.php, line 24

Class

GlobalTemplateCollectionManagerInterface
Interface for the global template collection manager.

Namespace

Drupal\courier\Service

Code

function getGlobalCollectionForTemplate(ChannelInterface $template);