sonata-project/SonataDoctrinePhpcrAdminBundle

tweak tree children configuration

Closed this issue · 2 comments

dbu commented

Add a second behaviour to the phpcrodm tree that uses DocumentManager::getChildren instead of looking for mappings.

Orthogonal to that, one could allow to deactivate the allowed children filtering and always allow all. Or provide a blacklist instead of whitelist option for that filter.

We should factor out those methods into strategy classes rather than just add more methods to the PhpcrOdmTree.php

Is that still relevant?

dbu commented

definitely not for 2.0

i just close this. there is a ton we could do, but don't have to. so lets get people that need such features do it. and ftr most of that should be done in resource/tree bundles, not here.