Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 9.x
»
common.inc
»
drupal_add_css
Search Drupal 9.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 9.x
Topics
Classes
Functions
Files
Namespaces
Constants
Globals
Deprecated
35 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.
bartik_preprocess_maintenance_page
in drupal/
core/
themes/
bartik/
template.php
Implements
hook_preprocess_HOOK
() for
maintenance-page.tpl.php
.
block_admin_demo
in drupal/
core/
modules/
block/
block.admin.inc
Page callback: Attaches CSS for the block region demo.
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.
dblog_init
in drupal/
core/
modules/
dblog/
dblog.module
Implements
hook_init
().
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.
help_main
in drupal/
core/
modules/
help/
help.admin.inc
Page callback: Prints a page listing a glossary of Drupal terminology.
hook_init
in drupal/
core/
modules/
system/
system.api.php
Perform setup tasks for non-cached page requests.
openid_user_identities
in drupal/
core/
modules/
openid/
openid.pages.inc
Menu callback; Manage OpenID identities for the specified user.
overlay_render_region
in drupal/
core/
modules/
overlay/
overlay.module
Renders an individual page region.
seven_preprocess_html
in drupal/
core/
themes/
seven/
template.php
Implements
hook_preprocess_HOOK
() for
html.tpl.php
.
simpletest_result_form
in drupal/
core/
modules/
simpletest/
simpletest.pages.inc
Test results form for $test_id.
system_add_module_assets
in drupal/
core/
modules/
system/
system.module
Adds CSS and JavaScript files declared in module .info files.
system_init
in drupal/
core/
modules/
system/
system.module
Implements
hook_init
().
template_process_html
in drupal/
core/
includes/
theme.inc
Process variables for
html.tpl.php
template_process_maintenance_page
in drupal/
core/
includes/
theme.inc
The variables array generated here is a mirror of
template_process_html
(). This processor will run its course when theme_maintenance_page() is invoked.
theme_color_scheme_form
in drupal/
core/
modules/
color/
color.module
Returns HTML for a theme's color form.
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
Initialize the theme system given already loaded information. This function is useful to initialize a theme when no database is present.