You are here

function TemplateCollectionInterface::getTemplate in Courier 8

Same name and namespace in other branches
  1. 2.x src/TemplateCollectionInterface.php \Drupal\courier\TemplateCollectionInterface::getTemplate()

Get template with a channel entity type.

Parameters

string $channel_type_id: A channel entity type ID.

Return value

\Drupal\courier\ChannelInterface|NULL A message, or NULL.

1 method overrides TemplateCollectionInterface::getTemplate()
TemplateCollection::getTemplate in src/Entity/TemplateCollection.php
Get template with a channel entity type.

File

src/TemplateCollectionInterface.php, line 65
Contains \Drupal\courier\TemplateCollectionInterface.

Class

TemplateCollectionInterface
Provides an interface defining a courier_template_collection entity.

Namespace

Drupal\courier

Code

function getTemplate($channel_type_id);