public function EntityDataDefinitionInterface::getBundles in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Entity/TypedData/EntityDataDefinitionInterface.php \Drupal\Core\Entity\TypedData\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\TypedDataCode
public function getBundles();