public function GlobalTemplateCollectionManagerInterface::getGlobalCollectionForTemplate in Courier 2.x
Same name and namespace in other branches
- 8 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\ServiceCode
public function getGlobalCollectionForTemplate(ChannelInterface $template);