You are here

protected function FieldsTest::fieldLabels in Layout Plugin Views 8.2

Same name and namespace in other branches
  1. 8 tests/src/Unit/FieldsTest.php \Drupal\Tests\layout_plugin_views\Unit\FieldsTest::fieldLabels()

Return value

array

2 calls to FieldsTest::fieldLabels()
FieldsTest::assertRegionAssignmentFields in tests/src/Unit/FieldsTest.php
@test
FieldsTest::initializeSubjectUnderTest in tests/src/Unit/FieldsTest.php

File

tests/src/Unit/FieldsTest.php, line 383

Class

FieldsTest
@coversDefaultClass \Drupal\layout_plugin_views\Plugin\views\row\Fields @group Panels

Namespace

Drupal\Tests\layout_plugin_views\Unit

Code

protected function fieldLabels() {
  return [
    'somefield' => 'Some field',
    'some_other_field' => 'Some other field',
  ];
}