function ExposedFormTest::providerTestExposedBlock

Same name in other branches
  1. 9 core/modules/views/tests/src/Functional/Plugin/ExposedFormTest.php \Drupal\Tests\views\Functional\Plugin\ExposedFormTest::providerTestExposedBlock()
  2. 10 core/modules/views/tests/src/Functional/Plugin/ExposedFormTest.php \Drupal\Tests\views\Functional\Plugin\ExposedFormTest::providerTestExposedBlock()

Data provider for testing different types of displays.

Return value

array Array of display names to test.

File

core/modules/views/tests/src/Functional/Plugin/ExposedFormTest.php, line 325

Class

ExposedFormTest
Tests exposed forms functionality.

Namespace

Drupal\Tests\views\Functional\Plugin

Code

public static function providerTestExposedBlock() {
    return [
        'page_display' => [
            'page_1',
        ],
        'block_display' => [
            'block_1',
        ],
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.