function ViewsDataTest::testViewsViewsDataIsBackendOverridable

Same name and namespace in other branches
  1. 11.x core/modules/views/tests/src/Kernel/ViewsDataTest.php \Drupal\Tests\views\Kernel\ViewsDataTest::testViewsViewsDataIsBackendOverridable()

Tests that the service "views.views_data" is backend-overridable.

File

core/modules/views/tests/src/Kernel/ViewsDataTest.php, line 17

Class

ViewsDataTest
Tests the service views.views_data.

Namespace

Drupal\Tests\views\Kernel

Code

public function testViewsViewsDataIsBackendOverridable() : void {
    $definition = $this->container
        ->getDefinition('views.views_data');
    $this->assertTrue($definition->hasTag('backend_overridable'));
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.