public function MetadataBubblingUrlGeneratorTest::providerUrlBubbleableMetadataBubbling in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Core/Render/MetadataBubblingUrlGeneratorTest.php \Drupal\Tests\Core\Render\MetadataBubblingUrlGeneratorTest::providerUrlBubbleableMetadataBubbling()
- 9 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,
[],
],
];
}