You are here

public function TemplateInterface::getBundles in Wysiwyg API template plugin 3.0.x

Gets the list of allowed types for the given entity type.

Parameters

string|null $entity_type:

Return value

string[]

1 method overrides TemplateInterface::getBundles()
Template::getBundles in src/Entity/Template.php
Gets the list of allowed types for the given entity type.

File

modules/wysiwyg_template_core/src/TemplateInterface.php, line 59

Class

TemplateInterface
Provides an interface for defining Template entities.

Namespace

Drupal\wysiwyg_template_core

Code

public function getBundles($entity_type = NULL) : array;