You are here

public function GlobalTemplateCollectionManagerInterface::importFromGlobalCollection in Courier 2.x

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

Imports active configuration from a global template collection into a template entity at runtime.

This will override message values from the database.

Parameters

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

1 method overrides GlobalTemplateCollectionManagerInterface::importFromGlobalCollection()
GlobalTemplateCollectionManager::importFromGlobalCollection in src/Service/GlobalTemplateCollectionManager.php
Imports active configuration from a global template collection into a template entity at runtime.

File

src/Service/GlobalTemplateCollectionManagerInterface.php, line 112

Class

GlobalTemplateCollectionManagerInterface
Interface for the global template collection manager.

Namespace

Drupal\courier\Service

Code

public function importFromGlobalCollection(ChannelInterface $template);