Skip to content

Commit 296ea5e

Browse files
committed
Add workaround for views_aggregator.
1 parent b87ad45 commit 296ea5e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Plugin/views/field/CustomEntityField.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,9 @@ public function init(ViewExecutable $view, DisplayPluginBase $display, ?array &$
103103
$this->fieldDefinition->setCardinality($this->fieldMetadata['max_multiple']);
104104
}
105105
}
106+
107+
$options['entity_field'] = $options['field'];
108+
106109
parent::init($view, $display, $options);
107110
}
108111

0 commit comments

Comments
 (0)