function EntityQueryServiceDeprecation::testFactoryOverriddenService
Tests getting the backend overridden service does not trigger deprecations.
File
-
core/
modules/ pgsql/ tests/ src/ Kernel/ EntityQueryServiceDeprecation.php, line 48
Class
- EntityQueryServiceDeprecation
- Tests the move of the 'pgsql.entity.query.sql' service.
Namespace
Drupal\Tests\pgsql\KernelCode
public function testFactoryOverriddenService() : void {
$service = $this->container
->get('entity.query.sql');
$this->assertInstanceOf(BaseQueryFactory::class, $service);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.