Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 8.x
»
common.inc
»
drupal_add_css
Search Drupal 8.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 8.x
Topics
Classes
Functions
Files
Namespaces
Services
Constants
Globals
Deprecated
31 calls to drupal_add_css()
ajax_forms_test_lazy_load_form_submit
in drupal/
core/
modules/
system/
tests/
modules/
ajax_forms_test/
ajax_forms_test.module
Form submit handler: Adds JavaScript and CSS that wasn't on the original form.
ajax_test_order
in drupal/
core/
modules/
system/
tests/
modules/
ajax_test/
ajax_test.module
Menu callback: Returns an AjaxResponse; settings command set last.
bartik_preprocess_maintenance_page
in drupal/
core/
themes/
bartik/
bartik.theme
Implements
hook_preprocess_HOOK
() for
maintenance-page.html.twig
.
CacheTest::testHeaderStorage
in drupal/
core/
modules/
views/
lib/
Drupal/
views/
Tests/
Plugin/
CacheTest.php
Tests css/js storage and restoring mechanism.
CascadingStylesheetsTest::testAddExternal
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
CascadingStylesheetsTest.php
Tests adding an external stylesheet.
CascadingStylesheetsTest::testAddFile
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
CascadingStylesheetsTest.php
Tests adding a file stylesheet.
CascadingStylesheetsTest::testAlter
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
CascadingStylesheetsTest.php
Tests Locale module's CSS Alter to include RTL overrides.
CascadingStylesheetsTest::testDefault
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
CascadingStylesheetsTest.php
Checks that default stylesheets are empty.
CascadingStylesheetsTest::testRenderExternal
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
CascadingStylesheetsTest.php
Tests rendering an external stylesheet.
CascadingStylesheetsTest::testRenderFile
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
CascadingStylesheetsTest.php
Tests rendering the stylesheets.
CascadingStylesheetsTest::testRenderInlineNoPreprocess
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
CascadingStylesheetsTest.php
Tests rendering inline stylesheets with preprocessing off.
CascadingStylesheetsTest::testRenderInlinePreprocess
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
CascadingStylesheetsTest.php
Tests rendering inline stylesheets with preprocessing on.
CascadingStylesheetsTest::testRenderOrder
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
CascadingStylesheetsTest.php
Tests CSS ordering.
CascadingStylesheetsTest::testRenderOverride
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
CascadingStylesheetsTest.php
Tests CSS override.
CascadingStylesheetsTest::testReset
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
CascadingStylesheetsTest.php
Makes sure that resetting the CSS empties the cache.
common_test_js_and_css_querystring
in drupal/
core/
modules/
system/
tests/
modules/
common_test/
common_test.module
Adds a JavaScript file and a CSS file with a query string appended.
drupal_get_css
in drupal/
core/
includes/
common.inc
Returns a themed representation of all stylesheets to attach to the page.
drupal_get_js
in drupal/
core/
includes/
common.inc
Returns a themed presentation of all JavaScript code for the current page.
FrameworkTest::testOrder
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Ajax/
FrameworkTest.php
Tests AjaxResponse::prepare() AJAX commands ordering.
overlay_render_region
in drupal/
core/
modules/
overlay/
overlay.module
Renders an individual page region.
seven_preprocess_html
in drupal/
core/
themes/
seven/
seven.theme
Implements
hook_preprocess_HOOK
() for html.tpl.php.
template_preprocess_color_scheme_form
in drupal/
core/
modules/
color/
color.module
Prepares variables for color scheme form templates.
template_preprocess_system_plugin_ui_form
in drupal/
core/
modules/
system/
system.module
Prepares variables for system plugin UI form templates.
template_process_html
in drupal/
core/
includes/
theme.inc
Processes variables for
html.html.twig
.
template_process_maintenance_page
in drupal/
core/
includes/
theme.inc
Theme process function for theme_maintenance_field().
theme_test_info_stylesheets
in drupal/
core/
modules/
system/
tests/
modules/
theme_test/
theme_test.module
Page callback; Adds stylesheets to test theme .info.yml property processing.
theme_update_report
in drupal/
core/
modules/
update/
update.report.inc
Returns HTML for the project status report.
views_ajax_form_wrapper
in drupal/
core/
modules/
views/
includes/
ajax.inc
Wrapper around drupal_build_form to handle some AJAX stuff automatically. This makes some assumptions about the client.
_batch_page
in drupal/
core/
includes/
batch.inc
Renders the batch processing page based on the current state of the batch.
_drupal_maintenance_theme
in drupal/
core/
includes/
theme.maintenance.inc
Sets up the theming system for maintenance page.
_drupal_theme_initialize
in drupal/
core/
includes/
theme.inc
Initializes the theme system given already loaded information.