You are here

public static function OpenOffCanvasDialogCommandTest::dialogPosition in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Core/Ajax/OpenOffCanvasDialogCommandTest.php \Drupal\Tests\Core\Ajax\OpenOffCanvasDialogCommandTest::dialogPosition()
  2. 9 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',
    ],
  ];
}