main/core/Manager/HomeManager.php
public function deleteRegions($content, $regions)
    {
        foreach ($regions as $region) {
            $region->detach();
            $this->manager->remove($region);
            $this->manager->flush();
        }
    }
public function deleteRegions($content, $regions)
    {
        foreach ($regions as $region) {
            $region->detach();
            $this->manager->remove($region);
            $this->manager->flush();
        }
    }
public function deleteRegions ( $ content , $ regions ) { foreach ( $ regions as $ region ) { $ region -> detach ( ) ; $ this -> manager -> remove ( $ region ) ; $ this -> manager -> flush ( ) ; } }
Delete a content from every region.
Delete a content from every region .