Sulu\Component\Content\Compat\PropertyInterface::getParams PHP Method

getParams() public method

parameter of property.
public getParams ( ) : PropertyParameter[]
return PropertyParameter[]
    public function getParams();

Usage Example

Example #1
0
 /**
  * @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());
 }
All Usage Examples Of Sulu\Component\Content\Compat\PropertyInterface::getParams