You are here

protected function FieldsTest::buildOptionsFrom 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::buildOptionsFrom()

Return value

array

11 calls to FieldsTest::buildOptionsFrom()
FieldsTest::assertDefaultRegionSelectionDefaultValue in tests/src/Unit/FieldsTest.php
@test @todo default value is temporarily an empty string. Make this something sensible.
FieldsTest::assertDefaultRegionSelectionDescriptionIsSet in tests/src/Unit/FieldsTest.php
@test
FieldsTest::assertDefaultRegionSelectionTitleIsSet in tests/src/Unit/FieldsTest.php
@test
FieldsTest::assertDefaultRegionSelectionType in tests/src/Unit/FieldsTest.php
@test
FieldsTest::assertLayoutSelectionDefaultValue in tests/src/Unit/FieldsTest.php
@test

... See full list

File

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

Class

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

Namespace

Drupal\Tests\layout_plugin_views\Unit

Code

protected function buildOptionsFrom() {
  $form_state = new FormState();
  $form = [];
  $this->sut
    ->buildOptionsForm($form, $form_state);
  return $form;
}