function ViewsConfigUpdaterTest::testNeedsEntityLinkUrlUpdate
Same name in other branches
- 8.9.x core/modules/views/tests/src/Kernel/ViewsConfigUpdaterTest.php \Drupal\Tests\views\Kernel\ViewsConfigUpdaterTest::testNeedsEntityLinkUrlUpdate()
@covers ::needsEntityLinkUrlUpdate
File
-
core/
modules/ views/ tests/ src/ Kernel/ ViewsConfigUpdaterTest.php, line 84
Class
- ViewsConfigUpdaterTest
- @coversDefaultClass \Drupal\views\ViewsConfigUpdater
Namespace
Drupal\Tests\views\KernelCode
public function testNeedsEntityLinkUrlUpdate() {
$test_view = $this->loadTestView('views.view.node_link_update_test');
$this->configUpdater
->setDeprecationsEnabled(FALSE);
$needs_update = $this->configUpdater
->needsEntityLinkUrlUpdate($test_view);
$this->assertTrue($needs_update);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.