function ViewsConfigUpdaterTest::testNeedsImageLazyLoadFieldUpdate
@covers ::needsImageLazyLoadFieldUpdate
File
-
core/
modules/ views/ tests/ src/ Kernel/ ViewsConfigUpdaterTest.php, line 124
Class
- ViewsConfigUpdaterTest
- @coversDefaultClass \Drupal\views\ViewsConfigUpdater
Namespace
Drupal\Tests\views\KernelCode
public function testNeedsImageLazyLoadFieldUpdate() {
$test_view = $this->loadTestView('views.view.test_user_multi_value');
$needs_update = $this->configUpdater
->needsImageLazyLoadFieldUpdate($test_view);
$this->assertTrue($needs_update);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.