function EntityDataDefinitionInterface::getBundles

Gets the array of possible entity bundles.

Return value

array|null The array of possible bundles, or NULL for any.

1 method overrides EntityDataDefinitionInterface::getBundles()
EntityDataDefinition::getBundles in core/lib/Drupal/Core/Entity/TypedData/EntityDataDefinition.php
Gets the array of possible entity bundles.

File

core/lib/Drupal/Core/Entity/TypedData/EntityDataDefinitionInterface.php, line 36

Class

EntityDataDefinitionInterface
Interface for typed data entity definitions.

Namespace

Drupal\Core\Entity\TypedData

Code

public function getBundles();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.