By martin107 on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
10.2.x
Introduced in version:
10.2.0
Issue links:
Description:
In the interests of performance a configuration option has been removed relating to the class \Drupal\views\ViewsData.
The option to set the boolean skip_cache has been removed /core/modules/views/config/install/views.settings.yml.
When defining a new service developers wishing to skip the cache now have the option of removing the usual cache.discovery service and injecting a null cache backend instead.
For reference here is the new service definition from core/modules/views/views.services.yml
views.views_data:
class: Drupal\views\ViewsData
arguments: ['@cache.discovery', '@module_handler', '@language_manager']
Impacts:
Site builders, administrators, editors
Module developers