src/Zicht/Bundle/PageBundle/Admin/PageAdmin.php
protected function fixOneToMany(PageInterface $object)
    {
        $items = $object->getContentItems();
        if ($items) {
            foreach ($object->getContentItems() as $item) {
                $item->setPage($object);
            }
        }
        if ($this->menuManager) {
            $this->menuManager->flush();
        }
    }
protected function fixOneToMany(PageInterface $object)
    {
        $items = $object->getContentItems();
        if ($items) {
            foreach ($object->getContentItems() as $item) {
                $item->setPage($object);
            }
        }
        if ($this->menuManager) {
            $this->menuManager->flush();
        }
    }
Fixes the many-to-one side of the one-to-many content items and flushes the menu manager.

@param \Zicht\Bundle\PageBundle\Model\PageInterface $object
@return void