Skip to content
Snippets Groups Projects

Issue#3287109 - Automated Drupal 10 compatibility fixes

2 files
+ 2
1
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -25,6 +25,7 @@ class RandomNodes extends DynamicBackstopjsGeneratorPluginBase {
@@ -25,6 +25,7 @@ class RandomNodes extends DynamicBackstopjsGeneratorPluginBase {
$storage = $this->entityTypeManager->getStorage('node');
$storage = $this->entityTypeManager->getStorage('node');
$query = $storage->getQuery();
$query = $storage->getQuery();
$query
$query
 
->accessCheck()
->condition('status', 1)
->condition('status', 1)
->addTag('random')
->addTag('random')
->range(0, isset($options['limit']) ? $options['limit'] : 10);
->range(0, isset($options['limit']) ? $options['limit'] : 10);
Loading