Verified Commit f25a0ab6 authored by Jess's avatar Jess
Browse files

Issue #3209605 by daffie, Arantxio, jibran, Lendude, quietone: Make the...

Issue #3209605 by daffie, Arantxio, jibran, Lendude, quietone: Make the service views.views_data backend overridable
parent ac30a985
<?php
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() {
$definition = $this->container->getDefinition('views.views_data');
$this->assertTrue($definition->hasTag('backend_overridable'));
}
}
......@@ -59,6 +59,8 @@ services:
views.views_data:
class: Drupal\views\ViewsData
arguments: ['@cache.default', '@config.factory', '@module_handler', '@language_manager']
tags:
- { name: backend_overridable }
views.views_data_helper:
class: Drupal\views\ViewsDataHelper
arguments: ['@views.views_data']
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment