public function Template::setBundles in Workbench Email 8
Same name and namespace in other branches
- 2.x src/Entity/Template.php \Drupal\workbench_email\Entity\Template::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.
Overrides TemplateInterface::setBundles
File
- src/
Entity/ Template.php, line 222
Class
- Template
- Defines the Email Template entity.
Namespace
Drupal\workbench_email\EntityCode
public function setBundles(array $bundles) {
$this->bundles = $bundles;
return $this;
}