You are here

public function BlazyManagerTest::providerResponsiveImage in Blazy 8

Same name and namespace in other branches
  1. 8.2 tests/src/Kernel/BlazyManagerTest.php \Drupal\Tests\blazy\Kernel\BlazyManagerTest::providerResponsiveImage()

Provider for ::testPreprocessResponsiveImage.

File

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

Class

BlazyManagerTest
Tests the Blazy manager methods.

Namespace

Drupal\Tests\blazy\Kernel

Code

public function providerResponsiveImage() {
  return [
    'Responsive image with picture 8.x-2' => [
      'blazy_picture_test',
      TRUE,
      FALSE,
    ],
    'Responsive image with picture 8.x-3' => [
      'blazy_picture_test',
      FALSE,
      FALSE,
    ],
    'Responsive image without picture 8.x-3' => [
      'blazy_responsive_test',
      FALSE,
      TRUE,
    ],
  ];
}