You are here

public static function OffCanvasDialogTest::dialogPosition in Drupal 9

Same name and namespace in other branches
  1. 8 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()

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',
    ],
  ];
}