You are here

protected function DraggableviewsTest::providerTestDataContent in DraggableViews 8

Same name and namespace in other branches
  1. 2.0.x tests/src/Functional/DraggableviewsTest.php \Drupal\Tests\draggableviews\Functional\DraggableviewsTest::providerTestDataContent()

Data provider for setUp.

Return value

array Nested array of testing data, Arranged like this:

  • Title
  • Body
1 call to DraggableviewsTest::providerTestDataContent()
DraggableviewsTest::setUp in tests/src/Functional/DraggableviewsTest.php

File

tests/src/Functional/DraggableviewsTest.php, line 70

Class

DraggableviewsTest
Tests sortability of Draggableviewws.

Namespace

Drupal\Tests\draggableviews\Functional

Code

protected function providerTestDataContent() {
  return [
    [
      'Draggable Content 1',
      'Draggable Content Body 1',
    ],
    [
      'Draggable Content 2',
      'Draggable Content Body 2',
    ],
    [
      'Draggable Content 3',
      'Draggable Content Body 3',
    ],
    [
      'Draggable Content 4',
      'Draggable Content Body 4',
    ],
    [
      'Draggable Content 5',
      'Draggable Content Body 5',
    ],
  ];
}