class BigPipePlaceholderTestCase in Drupal 10
Same name and namespace in other branches
- 8 core/modules/big_pipe/tests/modules/big_pipe_test/src/BigPipePlaceholderTestCases.php \Drupal\big_pipe_test\BigPipePlaceholderTestCase
- 9 core/modules/big_pipe/tests/modules/big_pipe_test/src/BigPipePlaceholderTestCases.php \Drupal\big_pipe_test\BigPipePlaceholderTestCase
Hierarchy
- class \Drupal\big_pipe_test\BigPipePlaceholderTestCase
Expanded class hierarchy of BigPipePlaceholderTestCase
File
- core/
modules/ big_pipe/ tests/ modules/ big_pipe_test/ src/ BigPipePlaceholderTestCases.php, line 330
Namespace
Drupal\big_pipe_testView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
BigPipePlaceholderTestCase:: |
public | property | The expected BigPipe no-JS placeholder. | |
BigPipePlaceholderTestCase:: |
public | property | The corresponding expected BigPipe no-JS placeholder render array. | |
BigPipePlaceholderTestCase:: |
public | property | The expected BigPipe placeholder ID. | |
BigPipePlaceholderTestCase:: |
public | property | The corresponding expected BigPipe placeholder render array. | |
BigPipePlaceholderTestCase:: |
public | property | The corresponding expected embedded AJAX response. | |
BigPipePlaceholderTestCase:: |
public | property | The corresponding expected embedded HTML response. | |
BigPipePlaceholderTestCase:: |
public | property | The expected corresponding placeholder string. | |
BigPipePlaceholderTestCase:: |
public | property | The expected corresponding placeholder render array. | |
BigPipePlaceholderTestCase:: |
public | property | The original render array. | |
BigPipePlaceholderTestCase:: |
public | function |