public function TemplateInterface::setBundles in Workbench Email 8
Same name and namespace in other branches
- 2.x src/TemplateInterface.php \Drupal\workbench_email\TemplateInterface::setBundles()
Sets bundles this template applies to.
Parameters
string[] $bundles: Bundles this template applies to in {entity_type_id}:{bundle} format.
Return value
self Called instance.
1 method overrides TemplateInterface::setBundles()
- Template::setBundles in src/
Entity/ Template.php - Sets bundles this template applies to.
File
- src/
TemplateInterface.php, line 100
Class
- TemplateInterface
- Provides an interface for defining Email Template entities.
Namespace
Drupal\workbench_emailCode
public function setBundles(array $bundles);