Skip to content

Menu changes#1

Open
seanr wants to merge 1 commit intoObiz:masterfrom
seanr:master
Open

Menu changes#1
seanr wants to merge 1 commit intoObiz:masterfrom
seanr:master

Conversation

@seanr
Copy link
Copy Markdown

@seanr seanr commented Jan 17, 2013

This relatively small commit does two things:

  • Use 'menu' as module name to allow item deletion.
  • Add 'exists: Yes' optionally to items in the YAML to allow new items to be created as children of existing menu items not defined by these fixtures (i.e. subpages of a panel page with its own menu item).

… to allow new items to be created as children of existing ones
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

We can't use path_load here because panels don't have URL aliases (the function just returns false). There may be a better way to validate the paths here.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant