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