function OpenOffCanvasDialogCommandTest::dialogPosition

Same name in other branches
  1. 9 core/tests/Drupal/Tests/Core/Ajax/OpenOffCanvasDialogCommandTest.php \Drupal\Tests\Core\Ajax\OpenOffCanvasDialogCommandTest::dialogPosition()
  2. 8.9.x core/tests/Drupal/Tests/Core/Ajax/OpenOffCanvasDialogCommandTest.php \Drupal\Tests\Core\Ajax\OpenOffCanvasDialogCommandTest::dialogPosition()
  3. 10 core/tests/Drupal/Tests/Core/Ajax/OpenOffCanvasDialogCommandTest.php \Drupal\Tests\Core\Ajax\OpenOffCanvasDialogCommandTest::dialogPosition()

The data provider for potential dialog positions.

Return value

array

File

core/tests/Drupal/Tests/Core/Ajax/OpenOffCanvasDialogCommandTest.php, line 55

Class

OpenOffCanvasDialogCommandTest
@coversDefaultClass \Drupal\Core\Ajax\OpenOffCanvasDialogCommand @group Ajax

Namespace

Drupal\Tests\Core\Ajax

Code

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

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