You are here

public function CourierManagerInterface::addTemplates in Courier 2.x

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

Adds all available channel types to the template collection.

Does not replace templates for existing channel types.

Parameters

\Drupal\courier\TemplateCollectionInterface $template_collection: A template collection entity.

1 method overrides CourierManagerInterface::addTemplates()
CourierManager::addTemplates in src/Service/CourierManager.php
Adds all available channel types to the template collection.

File

src/Service/CourierManagerInterface.php, line 23

Class

CourierManagerInterface
Interface for Courier manager.

Namespace

Drupal\courier\Service

Code

public function addTemplates(TemplateCollectionInterface &$template_collection);