You are here

public function FieldTest::providerSortOrders in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/views/tests/src/Unit/Plugin/field/FieldTest.php \Drupal\Tests\views\Unit\Plugin\field\FieldTest::providerSortOrders()

Provides sort orders for clickSort() test methods.

Return value

array

File

core/modules/views/tests/src/Unit/Plugin/field/FieldTest.php, line 679
Contains \Drupal\Tests\views\Unit\Plugin\field\FieldTest.

Class

FieldTest
@coversDefaultClass \Drupal\views\Plugin\views\field\Field @group views

Namespace

Drupal\Tests\views\Unit\Plugin\field

Code

public function providerSortOrders() {
  return [
    [
      'asc',
    ],
    [
      'desc',
    ],
    [
      'ASC',
    ],
    [
      'DESC',
    ],
  ];
}