eZ\Publish\Core\SignalSlot\SectionService::deleteSection PHP Method

deleteSection() public method

Deletes $section from content repository.
public deleteSection ( eZ\Publish\API\Repository\Values\Content\Section $section )
$section eZ\Publish\API\Repository\Values\Content\Section
    public function deleteSection(Section $section)
    {
        $returnValue = $this->service->deleteSection($section);
        $this->signalDispatcher->emit(new DeleteSectionSignal(array('sectionId' => $section->id)));
        return $returnValue;
    }