protected function FieldsTest::assertRenderedRegions in Layout Plugin Views 8
Same name and namespace in other branches
- 8.2 tests/src/Unit/FieldsTest.php \Drupal\Tests\layout_plugin_views\Unit\FieldsTest::assertRenderedRegions()
Parameters
$result:
2 calls to FieldsTest::assertRenderedRegions()
- FieldsTest::excludedFieldIsNotRendered in tests/
src/ Unit/ FieldsTest.php - @test
- FieldsTest::fieldIsRenderedInDefaultRegionIfSelectedRegionDoesNotExist in tests/
src/ Unit/ FieldsTest.php - @test
File
- tests/
src/ Unit/ FieldsTest.php, line 420
Class
- FieldsTest
- @coversDefaultClass \Drupal\layout_plugin_views\Plugin\views\row\Fields @group Panels
Namespace
Drupal\Tests\layout_plugin_views\UnitCode
protected function assertRenderedRegions($left, $default, $right, $result) {
$this
->assertEquals($left, isset($result['left']));
$this
->assertEquals($default, isset($result['']));
$this
->assertEquals($right, isset($result['right']));
}