function ImageEffectsTest::setUp

Same name in other branches
  1. 8.9.x core/modules/image/tests/src/Functional/ImageEffectsTest.php \Drupal\Tests\image\Functional\ImageEffectsTest::setUp()
  2. 10 core/modules/image/tests/src/Kernel/ImageEffectsTest.php \Drupal\Tests\image\Kernel\ImageEffectsTest::setUp()
  3. 11.x core/modules/image/tests/src/Kernel/ImageEffectsTest.php \Drupal\Tests\image\Kernel\ImageEffectsTest::setUp()

Overrides KernelTestBase::setUp

File

core/modules/image/tests/src/Kernel/ImageEffectsTest.php, line 40

Class

ImageEffectsTest
Tests image effects.

Namespace

Drupal\Tests\image\Kernel

Code

protected function setUp() : void {
    parent::setUp();
    $this->imageEffectPluginManager = $this->container
        ->get('plugin.manager.image.effect');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.