public function TcaPluginManager::loadSupportedBundleEntityTypes in Token Content Access 8
Same name and namespace in other branches
- 2.0.x src/Plugin/TcaPluginManager.php \Drupal\tca\Plugin\TcaPluginManager::loadSupportedBundleEntityTypes()
Load the string IDs for the supported bundle entity types.
Return value
array An array of entity type ID strings.
File
- src/
Plugin/ TcaPluginManager.php, line 115
Class
- TcaPluginManager
- Provides the TCA plugin manager.
Namespace
Drupal\tca\PluginCode
public function loadSupportedBundleEntityTypes() {
return array_values(array_map(function ($var) {
return $this->etm
->getStorage($var['entityType'])
->getEntityType()
->getBundleEntityType();
}, $this
->getDefinitions()));
}