/** * {@inheritdoc} */ public function build() { $this->systemCollectionManager = $this->container->get('sulu_media.system_collections.manager'); $this->systemCollectionManager->warmUp(); }
/** * {@inheritdoc} */ public function getParameters() { return ['contactAvatarCollection' => $this->systemCollectionManager->getSystemCollection('sulu_contact.contact'), 'accountAvatarCollection' => $this->systemCollectionManager->getSystemCollection('sulu_contact.account')]; }