You are here

public function BlazyManagerTest::providerPreprocessBlazy in Blazy 8.2

Provider for ::testPreprocessBlazy.

File

tests/src/Kernel/BlazyManagerTest.php, line 155

Class

BlazyManagerTest
Tests the Blazy manager methods.

Namespace

Drupal\Tests\blazy\Kernel

Code

public function providerPreprocessBlazy() {
  $data[] = [
    [
      'background' => FALSE,
    ],
    FALSE,
    FALSE,
    FALSE,
  ];
  $data[] = [
    [
      'background' => FALSE,
    ],
    TRUE,
    FALSE,
    TRUE,
  ];
  $data[] = [
    [
      'background' => TRUE,
      'ratio' => 'fluid',
      'sizes' => '100w',
      'width' => 640,
      'height' => 360,
    ],
    TRUE,
    FALSE,
    FALSE,
  ];
  return $data;
}