Skip to content

Allow views arguments to be unset#5

Open
seanbeaton wants to merge 2 commits into
wellebee:8.x-2.xfrom
seanbeaton:8.x-2.x
Open

Allow views arguments to be unset#5
seanbeaton wants to merge 2 commits into
wellebee:8.x-2.xfrom
seanbeaton:8.x-2.x

Conversation

@seanbeaton

@seanbeaton seanbeaton commented Sep 19, 2016

Copy link
Copy Markdown

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