Skip to content
This repository has been archived by the owner on Sep 16, 2021. It is now read-only.

Document the CreateMenuItemFromNodeEvent #447

Merged
merged 2 commits into from
Apr 23, 2014
Merged

Document the CreateMenuItemFromNodeEvent #447

merged 2 commits into from
Apr 23, 2014

Conversation

dbu
Copy link
Member

@dbu dbu commented Apr 15, 2014

Q A
Doc fix? no
New docs? yes
Applies to dev
Fixed tickets symfony-cmf/menu-bundle#175

This listener handles menu nodes that point to a different menu by implementing
the ``MenuReferrerInterface``::

namespace Example\Menu;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Example -> Acme

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And why not just Acme\DemoBundle or the like?

@dbu
Copy link
Member Author

dbu commented Apr 15, 2014

and updated.

**Note:** If setSkipNode(true) is called for ``Menu`` the
``ContentAwareFactory`` will still create an empty item for the menu. This is
to prevent the KnpMenuBundle code from throwing an Exception due to null
being passed to a function to render a menu.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

semi colons :) (sorry missed that before)

@dbu
Copy link
Member Author

dbu commented Apr 15, 2014

thanks, updated.

@dbu
Copy link
Member Author

dbu commented Apr 23, 2014

anything missing or good to merge?

@benglass
Copy link
Member

@dbu I think its good

wouterj added a commit that referenced this pull request Apr 23, 2014
Document the CreateMenuItemFromNodeEvent
@wouterj wouterj merged commit 016e426 into dev Apr 23, 2014
@wouterj wouterj deleted the menu-event branch April 23, 2014 14:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants