Issue #3311466 by Temoor, andypost: Remove obsolete ViewExecutable::editing property access
parent
e9afcbc368
commit
3254513103
|
@ -192,7 +192,7 @@ abstract class DisplayPluginBase extends PluginBase implements DisplayPluginInte
|
|||
|
||||
$skip_cache = \Drupal::config('views.settings')->get('skip_cache');
|
||||
|
||||
if (empty($view->editing) || !$skip_cache) {
|
||||
if (!$skip_cache) {
|
||||
$cid = 'views:unpack_options:' . hash('sha256', serialize([$this->options, $options])) . ':' . \Drupal::languageManager()->getCurrentLanguage()->getId();
|
||||
if (empty(static::$unpackOptions[$cid])) {
|
||||
$cache = \Drupal::cache('data')->get($cid);
|
||||
|
|
|
@ -554,9 +554,6 @@ class PathPluginBaseTest extends UnitTestCase {
|
|||
|
||||
$view->storage = $view_entity;
|
||||
|
||||
// Skip views options caching.
|
||||
$view->editing = TRUE;
|
||||
|
||||
$access_plugin = $this->getMockBuilder('Drupal\views\Plugin\views\access\AccessPluginBase')
|
||||
->disableOriginalConstructor()
|
||||
->getMockForAbstractClass();
|
||||
|
|
Loading…
Reference in New Issue