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;

use PHPUnit\Framework\Attributes\Group;
use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses;

/**
 * Tests the service views.views_data.
 */
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.