eZ\Publish\Core\REST\Client\FieldType::getFieldTypeIdentifier PHP Method

getFieldTypeIdentifier() public method

Returns the field type identifier for this field type.
public getFieldTypeIdentifier ( ) : string
return string
    public function getFieldTypeIdentifier()
    {
        return $this->innerFieldType->getFieldTypeIdentifier();
    }

Usage Example

 /**
  * Adds the given $fieldType.
  *
  * Note, this is not an API method and not meant to be used directly!
  *
  * @param FieldType $fieldType
  */
 public function addFieldType(FieldType $fieldType)
 {
     $this->fieldTypes[$fieldType->getFieldTypeIdentifier()] = $fieldType;
 }