You are here

protected function LanguageTestBase::dataSet in Views (for Drupal 7) 8.3

A very simple test dataset.

Overrides ViewTestBase::dataSet

File

lib/Drupal/views/Tests/Language/LanguageTestBase.php, line 67
Definition of Drupal\views\Tests\Language\LanguageTestBase.

Class

LanguageTestBase
Base class for all Language handler tests.

Namespace

Drupal\views\Tests\Language

Code

protected function dataSet() {
  $data = parent::dataSet();
  $data[0]['langcode'] = 'en';
  $data[1]['langcode'] = 'xx-lolspeak';
  $data[2]['langcode'] = '';
  $data[3]['langcode'] = '';
  $data[4]['langcode'] = '';
  return $data;
}