function OffCanvasDialogTest::dialogPosition

Same name in other branches
  1. 9 core/modules/system/tests/src/Functional/Ajax/OffCanvasDialogTest.php \Drupal\Tests\system\Functional\Ajax\OffCanvasDialogTest::dialogPosition()
  2. 8.9.x 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 76

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.