function QuickEditImageTest::providerTestImageInPlaceEditor

Same name in other branches
  1. 9 core/modules/quickedit/tests/src/FunctionalJavascript/QuickEditImageTest.php \Drupal\Tests\quickedit\FunctionalJavascript\QuickEditImageTest::providerTestImageInPlaceEditor()

Data provider for ::testImageInPlaceEditor().

Return value

array Test cases.

File

core/modules/image/tests/src/FunctionalJavascript/QuickEditImageTest.php, line 226

Class

QuickEditImageTest
@coversDefaultClass \Drupal\image\Plugin\InPlaceEditor\Image @group image

Namespace

Drupal\Tests\image\FunctionalJavascript

Code

public function providerTestImageInPlaceEditor() : array {
    return [
        'with permission' => [
            TRUE,
        ],
        'without permission' => [
            FALSE,
        ],
    ];
}

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