This is a followup from #1843774: Convert views/views_ui/templates/views-ui-display-tab-setting.tpl.php to Twig.

The docs for template_preprocess_views_ui_display_tab_setting() say this:

+ *   - defaulted: A boolean indicating the setting is in it's default state.
+ *   - overridden: A boolean indicating the setting has been overridden from
+ *     the default.

Which implies that these two variables are just logical opposites of each other, ie. defaulted = !overridden. Either the docs are wrong/misleading or we don't need to set both of these variables.

However, this task should be postponed on #1987510: [meta] Convert all core *.tpl.php templates to Twig as singular patch.

Comments

joelpittet’s picture

Issue tags: +VDC, +VDC-cleanup

tagging

mgifford’s picture

Issue summary: View changes
Status: Postponed » Active
Related issues: +#1987510: [meta] Convert all core *.tpl.php templates to Twig as singular patch
joelpittet’s picture

Version: 8.0.x-dev » 8.1.x-dev
Issue tags: +Twig

Version: 8.1.x-dev » 8.2.x-dev

Drupal 8.1.0-beta1 was released on March 2, 2016, which means new developments and disruptive changes should now be targeted against the 8.2.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.2.x-dev » 8.3.x-dev

Drupal 8.2.0-beta1 was released on August 3, 2016, which means new developments and disruptive changes should now be targeted against the 8.3.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.3.x-dev » 8.4.x-dev

Drupal 8.3.0-alpha1 will be released the week of January 30, 2017, which means new developments and disruptive changes should now be targeted against the 8.4.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.