eZ\Publish\Core\SignalSlot\LocationService::deleteLocation PHP Method

deleteLocation() public method

Deletes $location and all its descendants.
public deleteLocation ( eZ\Publish\API\Repository\Values\Content\Location $location )
$location eZ\Publish\API\Repository\Values\Content\Location
    public function deleteLocation(Location $location)
    {
        $this->service->deleteLocation($location);
        $this->signalDispatcher->emit(new DeleteLocationSignal(array('contentId' => $location->contentId, 'locationId' => $location->id, 'parentLocationId' => $location->parentLocationId)));
    }