public function getContentData(PropertyInterface $property) { $data = $property->getValue(); $params = $this->getParams($property->getParams()); $types = $params['types']->getValue(); $container = new MediaSelectionContainer(isset($data['config']) ? $data['config'] : [], isset($data['displayOption']) ? $data['displayOption'] : '', isset($data['ids']) ? $data['ids'] : [], $property->getStructure()->getLanguageCode(), $types, $this->mediaManager); return $container->getData(); }