function GlobalTemplateCollectionManagerInterface::createLocalCollectionForGlobalCollection in Courier 8
Same name and namespace in other branches
- 2.x src/Service/GlobalTemplateCollectionManagerInterface.php \Drupal\courier\Service\GlobalTemplateCollectionManagerInterface::createLocalCollectionForGlobalCollection()
Create a global template collection and associate it with a template collection.
Parameters
\Drupal\courier\Entity\GlobalTemplateCollectionInterface $global_template_collection: A global template collection entity.
Return value
\Drupal\courier\TemplateCollectionInterface A template collection entity.
Throws
\Drupal\courier\Exception\GlobalTemplateCollectionException Thrown if passed global template collection is unsaved.
1 method overrides GlobalTemplateCollectionManagerInterface::createLocalCollectionForGlobalCollection()
- GlobalTemplateCollectionManager::createLocalCollectionForGlobalCollection in src/
Service/ GlobalTemplateCollectionManager.php - Create a global template collection and associate it with a template collection.
File
- src/
Service/ GlobalTemplateCollectionManagerInterface.php, line 71
Class
- GlobalTemplateCollectionManagerInterface
- Interface for the global template collection manager.
Namespace
Drupal\courier\ServiceCode
function createLocalCollectionForGlobalCollection(GlobalTemplateCollectionInterface $global_template_collection);