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. 10 core/tests/Drupal/Tests/Core/Ajax/OpenOffCanvasDialogCommandTest.php \Drupal\Tests\Core\Ajax\OpenOffCanvasDialogCommandTest::dialogPosition()
  3. 11.x 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 51

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.