There are a number of customizations I want to make to the views_content_views_panes_content_type_edit_form but need to know things about the view that is providing it. The attached patch just passes through the current $view as $form['#view'] so that it is accessible to a hook_form_alter

Comments

populist’s picture

StatusFileSize
new327 bytes

Here is a patch to pass this information in $form_state instead of $form which is a better practice.

merlinofchaos’s picture

Status: Needs review » Fixed

Committed. For some reason this patch would not apply via git apply, though patch -p1 did it. Are you using git diff to create patches?

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.