Content/ArticleDataProvider.php
private function getTypesProperty($propertyParameter)
    {
        $filterTypes = [];

        if (array_key_exists('types', $propertyParameter)
            && null !== ($types = explode(',', $propertyParameter['types']->getValue()))
        ) {
            foreach ($types as $type) {
                $filterTypes[] = $type;
            }
        }

        return $filterTypes;
    }
private function getTypesProperty($propertyParameter)
    {
        $filterTypes = [];

        if (array_key_exists('types', $propertyParameter)
            && null !== ($types = explode(',', $propertyParameter['types']->getValue()))
        ) {
            foreach ($types as $type) {
                $filterTypes[] = $type;
            }
        }

        return $filterTypes;
    }
private function getTypesProperty ( $ propertyParameter ) { $ filterTypes = [ ] ; if ( array_key_exists ( 'types' , $ propertyParameter ) && null !== ( $ types = explode ( ',' , $ propertyParameter [ 'types' ] -> getValue ( ) ) ) ) { foreach ( $ types as $ type ) { $ filterTypes [ ] = $ type ; } } return $ filterTypes ; }
Returns array with all types defined in property parameter.

@param array $propertyParameter

@return array
Returns array with all types defined in property parameter .