class BigPipePlaceholderTestCase

Same name in other branches
  1. 8.9.x core/modules/big_pipe/tests/modules/big_pipe_test/src/BigPipePlaceholderTestCases.php \Drupal\big_pipe_test\BigPipePlaceholderTestCase
  2. 10 core/modules/big_pipe/tests/modules/big_pipe_test/src/BigPipePlaceholderTestCases.php \Drupal\big_pipe_test\BigPipePlaceholderTestCase
  3. 11.x core/modules/big_pipe/tests/modules/big_pipe_test/src/BigPipePlaceholderTestCases.php \Drupal\big_pipe_test\BigPipePlaceholderTestCase

Hierarchy

Expanded class hierarchy of BigPipePlaceholderTestCase

File

core/modules/big_pipe/tests/modules/big_pipe_test/src/BigPipePlaceholderTestCases.php, line 332

Namespace

Drupal\big_pipe_test
View source
class BigPipePlaceholderTestCase {
    
    /**
     * The original render array.
     *
     * @var array
     */
    public $renderArray;
    
    /**
     * The expected corresponding placeholder string.
     *
     * @var string
     */
    public $placeholder;
    
    /**
     * The expected corresponding placeholder render array.
     *
     * @var array
     */
    public $placeholderRenderArray;
    
    /**
     * The expected BigPipe placeholder ID.
     *
     * (Only possible for HTML placeholders.)
     *
     * @var null|string
     */
    public $bigPipePlaceholderId = NULL;
    
    /**
     * The corresponding expected BigPipe placeholder render array.
     *
     * @var null|array
     */
    public $bigPipePlaceholderRenderArray = NULL;
    
    /**
     * The corresponding expected embedded AJAX response.
     *
     * @var null|array
     */
    public $embeddedAjaxResponseCommands = NULL;
    
    /**
     * The expected BigPipe no-JS placeholder.
     *
     * (Possible for all placeholders, HTML or non-HTML.)
     *
     * @var string
     */
    public $bigPipeNoJsPlaceholder;
    
    /**
     * The corresponding expected BigPipe no-JS placeholder render array.
     *
     * @var array
     */
    public $bigPipeNoJsPlaceholderRenderArray;
    
    /**
     * The corresponding expected embedded HTML response.
     *
     * @var string
     */
    public $embeddedHtmlResponse;
    public function __construct(array $render_array, $placeholder, array $placeholder_render_array) {
        $this->renderArray = $render_array;
        $this->placeholder = $placeholder;
        $this->placeholderRenderArray = $placeholder_render_array;
    }

}

Members

Title Sort descending Modifiers Object type Summary
BigPipePlaceholderTestCase::$bigPipeNoJsPlaceholder public property The expected BigPipe no-JS placeholder.
BigPipePlaceholderTestCase::$bigPipeNoJsPlaceholderRenderArray public property The corresponding expected BigPipe no-JS placeholder render array.
BigPipePlaceholderTestCase::$bigPipePlaceholderId public property The expected BigPipe placeholder ID.
BigPipePlaceholderTestCase::$bigPipePlaceholderRenderArray public property The corresponding expected BigPipe placeholder render array.
BigPipePlaceholderTestCase::$embeddedAjaxResponseCommands public property The corresponding expected embedded AJAX response.
BigPipePlaceholderTestCase::$embeddedHtmlResponse public property The corresponding expected embedded HTML response.
BigPipePlaceholderTestCase::$placeholder public property The expected corresponding placeholder string.
BigPipePlaceholderTestCase::$placeholderRenderArray public property The expected corresponding placeholder render array.
BigPipePlaceholderTestCase::$renderArray public property The original render array.
BigPipePlaceholderTestCase::__construct public function

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