Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Content Types #8

Open
isometriks opened this issue Jun 6, 2014 · 0 comments
Open

Content Types #8

isometriks opened this issue Jun 6, 2014 · 0 comments
Labels

Comments

@isometriks
Copy link
Member

symedit:
    content_types:
        post: SymEdit\Bundle\BlogBundle\Model\PostInterface
        page: SymEdit\Bundle\CoreBundle\Model\PageInterface

So this would enable us to do stuff like choose content types for widgets, maybe be like type:post as one of the lines. This could be taken from the _subject or whatever it is to see what the current node is.

Also, we can use prependExtension() or whatever it is, so in the Blog Bundle you would prepend the config for the post content type, in the events you would prepend the event type. If somebody overrode those they wouldn't matter. Beautiful.

@isometriks isometriks added the Core label Jun 6, 2014
@isometriks isometriks changed the title [Core] Content Types Content Types Jun 6, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant