function EntityTest::testCalculateDependenciesWithPlaceholder
Same name in other branches
- 8.9.x core/modules/views/tests/src/Unit/Plugin/area/EntityTest.php \Drupal\Tests\views\Unit\Plugin\area\EntityTest::testCalculateDependenciesWithPlaceholder()
- 10 core/modules/views/tests/src/Unit/Plugin/area/EntityTest.php \Drupal\Tests\views\Unit\Plugin\area\EntityTest::testCalculateDependenciesWithPlaceholder()
- 11.x core/modules/views/tests/src/Unit/Plugin/area/EntityTest.php \Drupal\Tests\views\Unit\Plugin\area\EntityTest::testCalculateDependenciesWithPlaceholder()
@covers ::calculateDependencies
@dataProvider providerTestTokens
File
-
core/
modules/ views/ tests/ src/ Unit/ Plugin/ area/ EntityTest.php, line 266
Class
- EntityTest
- @coversDefaultClass \Drupal\views\Plugin\views\area\Entity @group Entity
Namespace
Drupal\Tests\views\Unit\Plugin\areaCode
public function testCalculateDependenciesWithPlaceholder($token, $id) {
$this->setupEntityTypeManager();
$options = [
'target' => $token,
];
$this->entityHandler
->init($this->executable, $this->display, $options);
$this->assertEquals([], $this->entityHandler
->calculateDependencies());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.