public function TemplateCollectionInterface::getTemplate in Courier 2.x
Same name and namespace in other branches
- 8 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 60
Class
- TemplateCollectionInterface
- Provides an interface defining a courier_template_collection entity.
Namespace
Drupal\courierCode
public function getTemplate($channel_type_id);