You are here

protected function FieldsTest::availableLayoutOptions in Layout Plugin Views 8

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

Return value

array

2 calls to FieldsTest::availableLayoutOptions()
FieldsTest::assertLayoutSelectionOptions in tests/src/Unit/FieldsTest.php
@test
FieldsTest::createLayoutPluginManagerMock in tests/src/Unit/FieldsTest.php

File

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

Class

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

Namespace

Drupal\Tests\layout_plugin_views\Unit

Code

protected function availableLayoutOptions() {
  return [
    'Group' => [
      'onecol' => 'One column',
      'twocol' => 'Two column',
    ],
  ];
}