eZ\Publish\Core\SignalSlot\ObjectStateService::deleteObjectStateGroup PHP Method

deleteObjectStateGroup() public method

Deletes a object state group including all states and links to content.
public deleteObjectStateGroup ( eZ\Publish\API\Repository\Values\ObjectState\ObjectStateGroup $objectStateGroup )
$objectStateGroup eZ\Publish\API\Repository\Values\ObjectState\ObjectStateGroup
    public function deleteObjectStateGroup(ObjectStateGroup $objectStateGroup)
    {
        $returnValue = $this->service->deleteObjectStateGroup($objectStateGroup);
        $this->signalDispatcher->emit(new DeleteObjectStateGroupSignal(array('objectStateGroupId' => $objectStateGroup->id)));
        return $returnValue;
    }