You are here

public function ResizeTest::setParameterCopy in IMCE 8.2

Same name and namespace in other branches
  1. 8 tests/src/Kernel/Plugin/ImcePlugin/ResizeTest.php \Drupal\Tests\imce\Kernel\Plugin\ImcePlugin\ResizeTest::setParameterCopy()

Set the parameter copy.

2 calls to ResizeTest::setParameterCopy()
ResizeTest::testResizeImageWithCopy in tests/src/Kernel/Plugin/ImcePlugin/ResizeTest.php
Test resizing the image by making a image copy.
ResizeTest::testResizeImageWithoutCopy in tests/src/Kernel/Plugin/ImcePlugin/ResizeTest.php
Test image resizing without copy.

File

tests/src/Kernel/Plugin/ImcePlugin/ResizeTest.php, line 119

Class

ResizeTest
Kernel tests for Imce plugins for Imce Plugin Core.

Namespace

Drupal\Tests\imce\Kernel\Plugin\ImcePlugin

Code

public function setParameterCopy($copy) {
  $this->imceFM->request->request
    ->add([
    'copy' => $copy,
  ]);
}