function MetadataBubblingUrlGeneratorTest::providerUrlBubbleableMetadataBubbling
Same name in other branches
- 8.9.x core/tests/Drupal/Tests/Core/Render/MetadataBubblingUrlGeneratorTest.php \Drupal\Tests\Core\Render\MetadataBubblingUrlGeneratorTest::providerUrlBubbleableMetadataBubbling()
- 10 core/tests/Drupal/Tests/Core/Render/MetadataBubblingUrlGeneratorTest.php \Drupal\Tests\Core\Render\MetadataBubblingUrlGeneratorTest::providerUrlBubbleableMetadataBubbling()
- 11.x core/tests/Drupal/Tests/Core/Render/MetadataBubblingUrlGeneratorTest.php \Drupal\Tests\Core\Render\MetadataBubblingUrlGeneratorTest::providerUrlBubbleableMetadataBubbling()
Data provider for ::testUrlBubbleableMetadataBubbling().
File
-
core/
tests/ Drupal/ Tests/ Core/ Render/ MetadataBubblingUrlGeneratorTest.php, line 70
Class
- MetadataBubblingUrlGeneratorTest
- Confirm that the MetadataBubblingUrlGenerator is functioning properly.
Namespace
Drupal\Tests\Core\RenderCode
public function providerUrlBubbleableMetadataBubbling() {
return [
// No bubbling when bubbleable metadata is collected.
[
TRUE,
0,
[],
],
// Bubbling when bubbleable metadata is not collected.
[
FALSE,
1,
[],
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.