public function GridStackFormatterTest::providerTestBuildSettings in GridStack 8.2
Same name and namespace in other branches
- 8 tests/src/Kernel/GridStackFormatterTest.php \Drupal\Tests\gridstack\Kernel\GridStackFormatterTest::providerTestBuildSettings()
 
Provide test cases for ::testBuildSettings().
Return value
array An array of tested data.
File
- tests/
src/ Kernel/ GridStackFormatterTest.php, line 140  
Class
- GridStackFormatterTest
 - Tests the GridStack field rendering using the image field type.
 
Namespace
Drupal\Tests\gridstack\KernelCode
public function providerTestBuildSettings() {
  $data[] = [
    [],
    FALSE,
  ];
  $data[] = [
    [
      'blazy' => FALSE,
    ],
    TRUE,
  ];
  $data[] = [
    [
      'blazy' => TRUE,
    ],
    TRUE,
  ];
  return $data;
}