20 calls to AttachedAssets::createFromRenderArray()
- AttachedAssetsTest::testAddExternalFiles in core/
tests/ Drupal/ KernelTests/ Core/ Asset/ AttachedAssetsTest.php - Tests adding external CSS and JavaScript files.
- AttachedAssetsTest::testAddFiles in core/
tests/ Drupal/ KernelTests/ Core/ Asset/ AttachedAssetsTest.php - Tests adding a CSS and a JavaScript file.
- AttachedAssetsTest::testAddJsFileWithQueryString in core/
tests/ Drupal/ KernelTests/ Core/ Asset/ AttachedAssetsTest.php - Tests JavaScript files that have query strings attached get added right.
- AttachedAssetsTest::testAddJsSettings in core/
tests/ Drupal/ KernelTests/ Core/ Asset/ AttachedAssetsTest.php - Tests adding JavaScript settings.
- AttachedAssetsTest::testAggregatedAttributes in core/
tests/ Drupal/ KernelTests/ Core/ Asset/ AttachedAssetsTest.php - Tests that attributes are maintained when JS aggregation is enabled.
- AttachedAssetsTest::testAggregation in core/
tests/ Drupal/ KernelTests/ Core/ Asset/ AttachedAssetsTest.php - Integration test for CSS/JS aggregation.
- AttachedAssetsTest::testAlter in core/
tests/ Drupal/ KernelTests/ Core/ Asset/ AttachedAssetsTest.php - Tests altering a JavaScript's weight via hook_js_alter().
- AttachedAssetsTest::testAttributes in core/
tests/ Drupal/ KernelTests/ Core/ Asset/ AttachedAssetsTest.php - Tests adding JavaScript files with additional attributes.
- AttachedAssetsTest::testHeaderHTML in core/
tests/ Drupal/ KernelTests/ Core/ Asset/ AttachedAssetsTest.php - Tests JS assets depending on the 'core/<head>' virtual library.
- AttachedAssetsTest::testLibraryAlter in core/
tests/ Drupal/ KernelTests/ Core/ Asset/ AttachedAssetsTest.php - Adds a JavaScript library to the page and alters it.
- AttachedAssetsTest::testLibraryUnknown in core/
tests/ Drupal/ KernelTests/ Core/ Asset/ AttachedAssetsTest.php - Tests non-existing libraries.
- AttachedAssetsTest::testNoCache in core/
tests/ Drupal/ KernelTests/ Core/ Asset/ AttachedAssetsTest.php - Tests that for assets with cache = FALSE, Drupal sets preprocess = FALSE.
- AttachedAssetsTest::testRenderDifferentWeight in core/
tests/ Drupal/ KernelTests/ Core/ Asset/ AttachedAssetsTest.php - Tests rendering the JavaScript with a file's weight above jQuery's.
- AttachedAssetsTest::testRenderOrder in core/
tests/ Drupal/ KernelTests/ Core/ Asset/ AttachedAssetsTest.php - Tests JavaScript and CSS asset ordering.
- AttachedAssetsTest::testSettings in core/
tests/ Drupal/ KernelTests/ Core/ Asset/ AttachedAssetsTest.php - Tests JavaScript settings.
- AttachedAssetsTest::testVersionQueryString in core/
tests/ Drupal/ KernelTests/ Core/ Asset/ AttachedAssetsTest.php - Tests JavaScript versioning.
- BigPipe::sendContent in core/
modules/ big_pipe/ src/ Render/ BigPipe.php - Sends an HTML response in chunks using the BigPipe technique.
- CommandWithAttachedAssetsTrait::getRenderedContent in core/
lib/ Drupal/ Core/ Ajax/ CommandWithAttachedAssetsTrait.php - Processes the content for output.
- FrameworkTest::testOrder in core/
modules/ system/ tests/ src/ Functional/ Ajax/ FrameworkTest.php - Tests AjaxResponse::prepare() AJAX commands ordering.
- HtmlResponseAttachmentsProcessor::processAttachments in core/
lib/ Drupal/ Core/ Render/ HtmlResponseAttachmentsProcessor.php - Processes the attachments of a response that has attachments.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.