public static function TemplateCollectionInterface::getTemplateCollectionForTemplate in Courier 2.x
Same name and namespace in other branches
- 8 src/TemplateCollectionInterface.php \Drupal\courier\TemplateCollectionInterface::getTemplateCollectionForTemplate()
Locates the template collection which references a template.
Parameters
\Drupal\courier\ChannelInterface $template: A template entity.
Return value
\Drupal\courier\Entity\TemplateCollection|null A template collection entity, or NULL if the template is an orphan.
1 method overrides TemplateCollectionInterface::getTemplateCollectionForTemplate()
- TemplateCollection::getTemplateCollectionForTemplate in src/
Entity/ TemplateCollection.php - Locates the template collection which references a template.
File
- src/
TemplateCollectionInterface.php, line 111
Class
- TemplateCollectionInterface
- Provides an interface defining a courier_template_collection entity.
Namespace
Drupal\courierCode
public static function getTemplateCollectionForTemplate(ChannelInterface $template);