You are here

public function CourierManagerInterface::addTemplates in Courier 8

Same name and namespace in other branches
  1. 2.x 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 28
Contains \Drupal\courier\Service\CourierManagerInterface.

Class

CourierManagerInterface
Interface for Courier manager.

Namespace

Drupal\courier\Service

Code

public function addTemplates(TemplateCollectionInterface &$template_collection);