public function MetadataBubblingUrlGeneratorTest::providerUrlBubbleableMetadataBubbling in Drupal 8
Same name and namespace in other branches
- 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,
[],
],
];
}