You are here

public function ConvolutionSharpenTest::providerToolkits in Image Effects 8.2

Same name and namespace in other branches
  1. 8.3 tests/src/Functional/Effect/ConvolutionSharpenTest.php \Drupal\Tests\image_effects\Functional\Effect\ConvolutionSharpenTest::providerToolkits()
  2. 8 tests/src/Functional/Effect/ConvolutionSharpenTest.php \Drupal\Tests\image_effects\Functional\Effect\ConvolutionSharpenTest::providerToolkits()

Provides toolkit data for testing.

Return value

array[] An associative array, with key the toolkit scenario to be tested, and value an associative array with the following keys:

  • 'toolkit_id': the toolkit to be used in the test.
  • 'toolkit_config': the config object of the toolkit.
  • 'toolkit_settings': an associative array of toolkit settings.

Overrides ImageEffectsTestBase::providerToolkits

File

tests/src/Functional/Effect/ConvolutionSharpenTest.php, line 17

Class

ConvolutionSharpenTest
Convolution sharpen effect test.

Namespace

Drupal\Tests\image_effects\Functional\Effect

Code

public function providerToolkits() {
  $toolkits = parent::providerToolkits();

  // @todo This effect does not work on GraphicsMagick.
  unset($toolkits['ImageMagick-graphicsmagick']);
  return $toolkits;
}