If you try to use hook_form_alter() to change the list of region styles presented to the user, you don't know which region the style is being applied to, so you use the region to decided what to hide/show.

It'd be great if the 'region' name was put on the $form_state, just like 'pane' is when setting a pane style.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dsnopek created an issue. See original summary.

dsnopek’s picture

Status: Needs review » Needs work

The last submitted patch, 2: panels-region-style-2729331-2.patch, failed testing.

cboyden’s picture

Version: 8.x-3.x-dev » 7.x-3.x-dev

The version to test against should be 7.x-3.x-dev.

cboyden’s picture

Status: Needs work » Needs review
dsnopek’s picture

Oops! I created too many D8 issues today. :-)

Status: Needs review » Needs work

The last submitted patch, 2: panels-region-style-2729331-2.patch, failed testing.

cboyden’s picture

Status: Needs work » Needs review