Class

eZ\Publish\Core\Persistence\Legacy\Content\Type\Update\Handler\DeferredLegacy

class DeferredLegacy extends Handler

DeferredLegacy based type update handler.

Methods

updateContentObjects(Type $fromType, Type $toType)

Updates existing content objects from $fromType to $toType.

deleteOldType(Type $fromType)

Deletes $fromType and all of its field definitions.

publishNewType(Type $toType, int $newStatus)

Publishes $toType to $newStatus.

__construct(Gateway $contentTypeGateway)

Creates a new content type update handler.

Details

at line 41
public updateContentObjects(Type $fromType, Type $toType)

Updates existing content objects from $fromType to $toType.

Parameters

Type $fromType
Type $toType

at line 50
public deleteOldType(Type $fromType)

Deletes $fromType and all of its field definitions.

Parameters

Type $fromType

at line 60
public publishNewType(Type $toType, int $newStatus)

Publishes $toType to $newStatus.

Parameters

Type $toType
int $newStatus

at line 30
public __construct(Gateway $contentTypeGateway)

Creates a new content type update handler.

Parameters

Gateway $contentTypeGateway