function OffCanvasDialogTest::dialogPosition

Same name and namespace in other branches
  1. 8.9.x core/modules/system/tests/src/Functional/Ajax/OffCanvasDialogTest.php \Drupal\Tests\system\Functional\Ajax\OffCanvasDialogTest::dialogPosition()
  2. 10 core/modules/system/tests/src/Functional/Ajax/OffCanvasDialogTest.php \Drupal\Tests\system\Functional\Ajax\OffCanvasDialogTest::dialogPosition()
  3. 11.x core/modules/system/tests/src/Functional/Ajax/OffCanvasDialogTest.php \Drupal\Tests\system\Functional\Ajax\OffCanvasDialogTest::dialogPosition()

The data provider for potential dialog positions.

Return value

array

File

core/modules/system/tests/src/Functional/Ajax/OffCanvasDialogTest.php, line 75

Class

OffCanvasDialogTest
Performs tests on opening and manipulating dialogs via AJAX commands.

Namespace

Drupal\Tests\system\Functional\Ajax

Code

public static function dialogPosition() {
    return [
        [
            NULL,
        ],
        [
            'side',
        ],
        [
            'top',
        ],
    ];
}

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