public function Template::getNodeTypes in Wysiwyg API template plugin 3.0.x
Same name and namespace in other branches
- 8.2 src/Entity/Template.php \Drupal\wysiwyg_template\Entity\Template::getNodeTypes()
Gets the list of allowed node types.
Return value
string[]
Overrides TemplateInterface::getNodeTypes
1 call to Template::getNodeTypes()
- Template::save in src/
Entity/ Template.php - Saves an entity permanently.
File
- src/
Entity/ Template.php, line 138
Class
- Template
- Defines the Template entity.
Namespace
Drupal\wysiwyg_template\EntityCode
public function getNodeTypes() : array {
return $this->node_types ?? [];
}