mirror of
https://github.com/farmOS/farmOS.git
synced 2024-02-23 11:37:38 +01:00
Fix operator so that field definitions for all bundles are included.
This commit is contained in:
parent
da3b031f73
commit
58f3d1a713
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ class FarmEntityBundlePluginHandler extends BundlePluginHandler {
|
|||
|
||||
// Allow modules to add definitions.
|
||||
foreach (array_keys($this->pluginManager->getDefinitions()) as $plugin_id) {
|
||||
$definitions = \Drupal::moduleHandler()->invokeAll('farm_entity_bundle_field_info', [$this->entityType, $plugin_id]);
|
||||
$definitions += \Drupal::moduleHandler()->invokeAll('farm_entity_bundle_field_info', [$this->entityType, $plugin_id]);
|
||||
}
|
||||
|
||||
// Ensure the presence of required keys which aren't set by the plugin.
|
||||
|
|
Loading…
Reference in a new issue