eZ\Publish\Core\Persistence\Legacy\Content\Type\Handler::removeFieldDefinition PHP Method

removeFieldDefinition() public method

This method creates a new status of the Type with the field definition referred to by $fieldDefinitionId removed. It does not update existing content objects depending on the field (default) values.
public removeFieldDefinition ( mixed $contentTypeId, $status, mixed $fieldDefinitionId ) : boolean
$contentTypeId mixed
$fieldDefinitionId mixed
return boolean
    public function removeFieldDefinition($contentTypeId, $status, $fieldDefinitionId)
    {
        $this->contentTypeGateway->deleteFieldDefinition($contentTypeId, $status, $fieldDefinitionId);
        // @todo FIXME: Return true only if deletion happened
        return true;
    }