C:\xampp\htdocs\views\views_ui\admin.inc
     994    $display = &$view->display[$display_id];
    2143          $plugin->init($view, $view->display[$display_id], $handler->options['style']['options']);
2 matches in C:\xampp\htdocs\views\views_ui\admin.inc
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dawehner’s picture

Status: Active » Needs review
FileSize
910 bytes

One code was not used at all, so let's remove it.

dawehner’s picture

FileSize
2.71 KB

Just realized that this function is not used anymore. The UI for summaries is included in arguments directly.

xjm’s picture

grep shows the following references:

[lorentz:views | Fri 08:56:21] $ grep -r "views_ui_config_style_form" *
views_ui/admin.inc:      'form_id' => 'views_ui_config_style_form',
views_ui/admin.inc:function views_ui_config_style_form($form, &$form_state) {
views_ui/admin.inc:    $view->getStandardButtons($form, $form_state, 'views_ui_config_style_form');
views_ui/admin.inc:function views_ui_config_style_form_submit($form, &$form_state) {

That first one is in views_ui_ajax_forms(). Do we need to remove that entry for the form there?

tim.plunkett’s picture

Status: Needs review » Needs work

Yes, it should be removed from views_ui_ajax_forms() as well.

xjm’s picture

Status: Needs work » Needs review
FileSize
531 bytes
3.1 KB
dawehner’s picture

Status: Needs review » Reviewed & tested by the community

Nice! I like to have bugs turning into actual cleanups.

dawehner’s picture

Project: Views (for Drupal 7) » Drupal core
Version: 8.x-3.x-dev » 8.x-dev
Component: Code » views.module
Status: Reviewed & tested by the community » Needs review

Rerole against core.

dawehner’s picture

FileSize
3.1 KB

With an actual patch.

Status: Needs review » Needs work

The last submitted patch, views-1810826-5.patch, failed testing.

fastangel’s picture

Status: Needs work » Needs review
FileSize
3.17 KB

Rerolled.

tim.plunkett’s picture

Title: admin.inc is passing display instead of displayHandler » Remove obsolete form code from views_ui/admin.inc
FileSize
2.3 KB
5.26 KB

This came up while I was working on #1798574: Refactor Views UI to be a form controller

dawehner’s picture

FileSize
10.81 KB

@tim
This is not a feature we can drop, see the attached screenshot

dawehner’s picture

Status: Needs review » Reviewed & tested by the community

Sorry i was wrong. config-type was used for the override button in d6.

tim.plunkett’s picture

Status: Reviewed & tested by the community » Needs review
FileSize
6.08 KB

Missed the calling code. @dawehner and I talked in IRC and this is fine.

dawehner’s picture

Status: Needs review » Reviewed & tested by the community

So finally!

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Yay less code! :D

Committed and pushed to 8.x.

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