I was really chasing a different problem with the View import when it hit me that it might be because the View will get re-imported every time. I figured preventing that couldn't hurt.

CommentFileSizeAuthor
#1 import_view_only_once_1680954_1.patch946 bytesLetharion

Comments

Letharion’s picture

StatusFileSize
new946 bytes
Letharion’s picture

Status: Active » Needs review
hefox’s picture

Calling views_get_view from hook_views_default_views? That sounds like it'd cause recursion

sreynen’s picture

Issue summary: View changes
Status: Needs review » Closed (works as designed)

Yeah, hook_views_default_views() does not import a view every time it runs, so there doesn't seem to be an actual problem to solve here.