eZ\Publish\Core\FieldType\Time\Type::isEmptyValue PHP Method

isEmptyValue() public method

Returns if the given $value is considered empty by the field type.
public isEmptyValue ( eZ\Publish\SPI\FieldType\Value $value ) : boolean
$value eZ\Publish\SPI\FieldType\Value
return boolean
    public function isEmptyValue(SPIValue $value)
    {
        if ($value->time === null) {
            return true;
        }
        return false;
    }