public function GlobalTemplateCollectionManagerInterface::getGlobalCollectionForLocalCollection in Courier 2.x
Same name and namespace in other branches
- 8 src/Service/GlobalTemplateCollectionManagerInterface.php \Drupal\courier\Service\GlobalTemplateCollectionManagerInterface::getGlobalCollectionForLocalCollection()
Gets the global collection for a local collection.
Get the global template collection associated with a local template collection.
Parameters
\Drupal\courier\TemplateCollectionInterface $template_collection: A local template collection entity.
Return value
\Drupal\courier\Entity\GlobalTemplateCollectionInterface|false A global template collection entity, or FALSE if the template collection is not associated with a global template collection.
1 method overrides GlobalTemplateCollectionManagerInterface::getGlobalCollectionForLocalCollection()
- GlobalTemplateCollectionManager::getGlobalCollectionForLocalCollection in src/
Service/ GlobalTemplateCollectionManager.php - Gets the global collection for a local collection.
File
- src/
Service/ GlobalTemplateCollectionManagerInterface.php, line 39
Class
- GlobalTemplateCollectionManagerInterface
- Interface for the global template collection manager.
Namespace
Drupal\courier\ServiceCode
public function getGlobalCollectionForLocalCollection(TemplateCollectionInterface $template_collection);