You are here

public function MetadataBubblingUrlGeneratorTest::providerUrlBubbleableMetadataBubbling in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 75
Contains \Drupal\Tests\Core\Render\MetadataBubblingUrlGeneratorTest.

Class

MetadataBubblingUrlGeneratorTest
Confirm that the MetadataBubblingUrlGenerator is functioning properly.

Namespace

Drupal\Tests\Core\Render

Code

public function providerUrlBubbleableMetadataBubbling() {
  return [
    // No bubbling when bubbleable metadata is collected.
    [
      TRUE,
      0,
      [],
    ],
    // Bubbling when bubbleable metadata is not collected.
    [
      FALSE,
      1,
      [],
    ],
  ];
}