Sulu\Bundle\MediaBundle\Content\Types\MediaSelectionContentType::getDefaultParams PHP Method

getDefaultParams() public method

public getDefaultParams ( Sulu\Component\Content\Compat\PropertyInterface $property = null )
$property Sulu\Component\Content\Compat\PropertyInterface
    public function getDefaultParams(PropertyInterface $property = null)
    {
        return ['types' => new PropertyParameter('types', null), 'defaultDisplayOption' => new PropertyParameter('defaultDisplayOption', 'top'), 'displayOptions' => new PropertyParameter('displayOptions', ['leftTop' => new PropertyParameter('leftTop', true), 'top' => new PropertyParameter('top', true), 'rightTop' => new PropertyParameter('rightTop', true), 'left' => new PropertyParameter('left', true), 'middle' => new PropertyParameter('middle', false), 'right' => new PropertyParameter('right', true), 'leftBottom' => new PropertyParameter('leftBottom', true), 'bottom' => new PropertyParameter('bottom', true), 'rightBottom' => new PropertyParameter('rightBottom', true)], 'collection'), 'formats' => new PropertyParameter('formats', [])];
    }