Example #1
0
 /**
  * Get field type information
  *
  * @param \eZ\Publish\API\Repository\Values\Content\Query\CustomFieldInterface $criterion
  * @return array
  */
 protected function getFieldTypes(CustomFieldInterface $criterion)
 {
     return $this->fieldMap->getFieldTypes($criterion);
 }
Example #2
0
 /**
  * Get field type information
  *
  * @param string $contentTypeIdentifier
  * @param string $fieldDefinitionIdentifier
  * @param string $languageCode
  *
  * @return array
  */
 protected function getFieldTypes($contentTypeIdentifier, $fieldDefinitionIdentifier, $languageCode)
 {
     return $this->fieldMap->getSortFieldTypes($contentTypeIdentifier, $fieldDefinitionIdentifier, $languageCode);
 }