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