20 calls to AttachedAssets::createFromRenderArray() in Zircon Profile 8
- AttachedAssetsTest::testAddExternalFiles in core/
modules/ system/ src/ Tests/ Common/ AttachedAssetsTest.php - Tests adding external CSS and JavaScript files.
- AttachedAssetsTest::testAddFiles in core/
modules/ system/ src/ Tests/ Common/ AttachedAssetsTest.php - Tests adding a CSS and a JavaScript file.
- AttachedAssetsTest::testAddJsFileWithQueryString in core/
modules/ system/ src/ Tests/ Common/ AttachedAssetsTest.php - Tests JavaScript files that have querystrings attached get added right.
- AttachedAssetsTest::testAddJsSettings in core/
modules/ system/ src/ Tests/ Common/ AttachedAssetsTest.php - Tests adding JavaScript settings.
- AttachedAssetsTest::testAggregatedAttributes in core/
modules/ system/ src/ Tests/ Common/ AttachedAssetsTest.php - Tests that attributes are maintained when JS aggregation is enabled.
- AttachedAssetsTest::testAggregation in core/
modules/ system/ src/ Tests/ Common/ AttachedAssetsTest.php - Integration test for CSS/JS aggregation.
- AttachedAssetsTest::testAlter in core/
modules/ system/ src/ Tests/ Common/ AttachedAssetsTest.php - Tests altering a JavaScript's weight via hook_js_alter().
- AttachedAssetsTest::testAttributes in core/
modules/ system/ src/ Tests/ Common/ AttachedAssetsTest.php - Tests adding JavaScript files with additional attributes.
- AttachedAssetsTest::testBrowserConditionalComments in core/
modules/ system/ src/ Tests/ Common/ AttachedAssetsTest.php - Tests adding JavaScript within conditional comments.
- AttachedAssetsTest::testHeaderHTML in core/
modules/ system/ src/ Tests/ Common/ AttachedAssetsTest.php - Tests JS assets depending on the 'core/<head>' virtual library.
- AttachedAssetsTest::testLibraryAlter in core/
modules/ system/ src/ Tests/ Common/ AttachedAssetsTest.php - Adds a JavaScript library to the page and alters it.
- AttachedAssetsTest::testLibraryUnknown in core/
modules/ system/ src/ Tests/ Common/ AttachedAssetsTest.php - Tests non-existing libraries.
- AttachedAssetsTest::testNoCache in core/
modules/ system/ src/ Tests/ Common/ AttachedAssetsTest.php - Tests that for assets with cache = FALSE, Drupal sets preprocess = FALSE.
- AttachedAssetsTest::testRenderDifferentWeight in core/
modules/ system/ src/ Tests/ Common/ AttachedAssetsTest.php - Tests rendering the JavaScript with a file's weight above jQuery's.
- AttachedAssetsTest::testRenderOrder in core/
modules/ system/ src/ Tests/ Common/ AttachedAssetsTest.php - Tests JavaScript and CSS asset ordering.
- AttachedAssetsTest::testSettings in core/
modules/ system/ src/ Tests/ Common/ AttachedAssetsTest.php - Tests JavaScript settings.
- AttachedAssetsTest::testVersionQueryString in core/
modules/ system/ src/ Tests/ Common/ AttachedAssetsTest.php - Tests JavaScript versioning.
- CommandWithAttachedAssetsTrait::getRenderedContent in core/
lib/ Drupal/ Core/ Ajax/ CommandWithAttachedAssetsTrait.php - Processes the content for output.
- FrameworkTest::testOrder in core/
modules/ system/ src/ Tests/ 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.