/**
* @param PropertyInterface $property
*
* @return array
*/
public function getParamsFunction($property)
{
$typeParams = [];
if ($this->contentTypeManager->has($property->getContentTypeName())) {
$type = $this->getTypeFunction($property->getContentTypeName());
$typeParams = $type->getDefaultParams();
}
return $this->mergeRecursive($typeParams, $property->getParams());
}