function ViewsConfigUpdaterTest::testNeedsEntityLinkUrlUpdate

@covers ::needsEntityLinkUrlUpdate

File

core/modules/views/tests/src/Kernel/ViewsConfigUpdaterTest.php, line 84

Class

ViewsConfigUpdaterTest
@coversDefaultClass \Drupal\views\ViewsConfigUpdater[[api-linebreak]]

Namespace

Drupal\Tests\views\Kernel

Code

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.