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

Allow views arguments to be unset #5

Open
wants to merge 2 commits into
base: 8.x-2.x
Choose a base branch
from

Conversation

seanbeaton
Copy link

@seanbeaton seanbeaton commented Sep 19, 2016

This builds on marcus-n3rd's fork to allow view arguments to be unset. Before, if you didn't provide them when referencing the view, it would pass an empty array as the arguments, instead of not passing them at all. This would stop you from taking the arguments from somewhere else, for example, the path.

This should be pulled after PR 4: #4

marcus-n3rd and others added 2 commits August 4, 2016 18:25
Absorbed the following functions into the class:
- viewfield_element_info()
- viewfield_pre_render()
- viewfield_post_render()
- _viewfield_get_view_args()
-- This was made getViewArgs() which is a protected method

Left rendering for the theme.
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.

2 participants