Skip to content

Instantly share code, notes, and snippets.

@wouterj
Created August 26, 2013 13:21
Show Gist options
  • Select an option

  • Save wouterj/6341343 to your computer and use it in GitHub Desktop.

Select an option

Save wouterj/6341343 to your computer and use it in GitHub Desktop.
sonata_doctrine_phpcr_admin:
document_tree:
Doctrine\ODM\PHPCR\Document\Generic:
valid_children:
- all
Symfony\Cmf\Bundle\SimpleCmsBundle\Document\Page: ~
Symfony\Cmf\Bundle\RoutingBundle\Document\Route:
valid_children:
- Symfony\Cmf\Bundle\RoutingBundle\Document\Route
- Symfony\Cmf\Bundle\RoutingBundle\Document\RedirectRoute
Symfony\Cmf\Bundle\RoutingBundle\Document\RedirectRoute:
valid_children: []
Symfony\Cmf\Bundle\MenuBundle\Document\MenuNode:
valid_children:
- Symfony\Cmf\Bundle\MenuBundle\Document\MenuNode
- Symfony\Cmf\Bundle\MenuBundle\Document\MultilangMenuNode
Symfony\Cmf\Bundle\MenuBundle\Document\MultilangMenuNode:
valid_children:
- Symfony\Cmf\Bundle\MenuBundle\Document\MenuNode
- Symfony\Cmf\Bundle\MenuBundle\Document\MultilangMenuNode
@dbu

dbu commented Aug 26, 2013

Copy link
Copy Markdown

if you are on the latest version of simplecms, its no longer Document\Page but Doctrine\Phpcr\Page

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment