function EntityDataDefinitionInterface::getBundles
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/TypedData/EntityDataDefinitionInterface.php \Drupal\Core\Entity\TypedData\EntityDataDefinitionInterface::getBundles()
- 8.9.x core/lib/Drupal/Core/Entity/TypedData/EntityDataDefinitionInterface.php \Drupal\Core\Entity\TypedData\EntityDataDefinitionInterface::getBundles()
- 11.x 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();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.