function BigPipeResponseAttachmentsProcessorTest::nonHtmlResponseProvider

Same name and namespace in other branches
  1. 9 core/modules/big_pipe/tests/src/Unit/Render/BigPipeResponseAttachmentsProcessorTest.php \Drupal\Tests\big_pipe\Unit\Render\BigPipeResponseAttachmentsProcessorTest::nonHtmlResponseProvider()
  2. 10 core/modules/big_pipe/tests/src/Unit/Render/BigPipeResponseAttachmentsProcessorTest.php \Drupal\Tests\big_pipe\Unit\Render\BigPipeResponseAttachmentsProcessorTest::nonHtmlResponseProvider()
  3. 11.x core/modules/big_pipe/tests/src/Unit/Render/BigPipeResponseAttachmentsProcessorTest.php \Drupal\Tests\big_pipe\Unit\Render\BigPipeResponseAttachmentsProcessorTest::nonHtmlResponseProvider()

File

core/modules/big_pipe/tests/src/Unit/Render/BigPipeResponseAttachmentsProcessorTest.php, line 40

Class

BigPipeResponseAttachmentsProcessorTest
@coversDefaultClass <a href="/api/drupal/core%21modules%21big_pipe%21src%21Render%21BigPipeResponseAttachmentsProcessor.php/class/BigPipeResponseAttachmentsProcessor/8.9.x" title="Processes attachments of HTML responses with BigPipe enabled." class="local">\Drupal\big_pipe\Render\BigPipeResponseAttachmentsProcessor</a> @group big_pipe

Namespace

Drupal\Tests\big_pipe\Unit\Render

Code

public function nonHtmlResponseProvider() {
    return [
        'AjaxResponse, which implements AttachmentsInterface' => [
            AjaxResponse::class,
        ],
        'A dummy that implements AttachmentsInterface' => [
            get_class($this->prophesize(AttachmentsInterface::class)
                ->reveal()),
        ],
    ];
}

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