/** * {@inheritdoc} */ protected function getExtensions() { $productSelectType = new EntityType([1 => $this->getEntity('OroB2B\\Bundle\\ProductBundle\\Entity\\Product', 1, 'id'), 2 => $this->getEntity('OroB2B\\Bundle\\ProductBundle\\Entity\\Product', 2, 'id')], ProductPriceListAwareSelectType::NAME); return array_merge(parent::getExtensions(), [new PreloadedExtension([$productSelectType->getName() => $productSelectType], [])]); }