function OpenOffCanvasDialogCommandTest::dialogPosition

The data provider for potential dialog positions.

Return value

array An array of dialog positions.

File

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

Class

OpenOffCanvasDialogCommandTest
Tests Drupal\Core\Ajax\OpenOffCanvasDialogCommand.

Namespace

Drupal\Tests\Core\Ajax

Code

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

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