ViewsDataTest.php

Same filename in this branch
  1. 11.x core/modules/options/tests/src/Kernel/Views/ViewsDataTest.php
  2. 11.x core/modules/views/tests/src/Unit/ViewsDataTest.php
Same filename in other branches
  1. 9 core/modules/options/tests/src/Kernel/Views/ViewsDataTest.php
  2. 9 core/modules/views/tests/src/Unit/ViewsDataTest.php
  3. 8.9.x core/modules/options/tests/src/Kernel/Views/ViewsDataTest.php
  4. 8.9.x core/modules/views/tests/src/Unit/ViewsDataTest.php
  5. 10 core/modules/options/tests/src/Kernel/Views/ViewsDataTest.php
  6. 10 core/modules/views/tests/src/Unit/ViewsDataTest.php
  7. 10 core/modules/views/tests/src/Kernel/ViewsDataTest.php

Namespace

Drupal\Tests\views\Kernel

File

core/modules/views/tests/src/Kernel/ViewsDataTest.php

View source
<?php

declare (strict_types=1);
namespace Drupal\Tests\views\Kernel;


/**
 * Tests the service views.views_data.
 *
 * @group views
 */
class ViewsDataTest extends ViewsKernelTestBase {
    
    /**
     * Tests that the service "views.views_data" is backend-overridable.
     */
    public function testViewsViewsDataIsBackendOverridable() : void {
        $definition = $this->container
            ->getDefinition('views.views_data');
        $this->assertTrue($definition->hasTag('backend_overridable'));
    }

}

Classes

Title Deprecated Summary
ViewsDataTest Tests the service views.views_data.

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