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_library
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_library()
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_add_tabledrag
in drupal/
core/
includes/
common.inc
Assists in adding the tableDrag JavaScript behavior to a themed table.
drupal_process_attached
in drupal/
core/
includes/
common.inc
Adds attachments to a
render
() structure.
install_configure_form
in drupal/
core/
includes/
install.core.inc
Form constructor for a form to configure the new site.
JavaScriptTest::testAddInline
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
JavaScriptTest.php
Tests adding inline scripts.
JavaScriptTest::testAddSetting
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
JavaScriptTest.php
Tests adding settings.
JavaScriptTest::testAggregatedAttributes
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
JavaScriptTest.php
Tests that attributes are maintained when JS aggregation is enabled.
JavaScriptTest::testAggregation
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
JavaScriptTest.php
Tests JavaScript grouping and aggregation.
JavaScriptTest::testAggregationOrder
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
JavaScriptTest.php
Tests JavaScript aggregation when files are added to a different scope.
JavaScriptTest::testAttributes
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
JavaScriptTest.php
Tests adding JavaScript files with additional attributes.
JavaScriptTest::testBrowserConditionalComments
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
JavaScriptTest.php
Tests adding JavaScript within conditional comments.
JavaScriptTest::testDifferentGroup
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
JavaScriptTest.php
Tests adding a JavaScript file with a different group.
JavaScriptTest::testFooterHTML
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
JavaScriptTest.php
Tests
drupal_get_js
() with a footer scope.
JavaScriptTest::testHeaderSetting
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
JavaScriptTest.php
Tests
drupal_get_js
() for JavaScript settings.
JavaScriptTest::testLibraryAlter
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
JavaScriptTest.php
Adds a JavaScript library to the page and alters it.
JavaScriptTest::testLibraryRender
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
JavaScriptTest.php
Adds a library to the page and tests for both its JavaScript and its CSS.
JavaScriptTest::testLibraryUnknown
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
JavaScriptTest.php
Tests non-existing libraries.
JavaScriptTest::testNoCache
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
JavaScriptTest.php
Tests
drupal_add_js
() sets preproccess to FALSE when cache is also FALSE.
JavaScriptTest::testRenderDifferentWeight
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
JavaScriptTest.php
Tests rendering the JavaScript with a file's weight above jQuery's.
JavaScriptTest::testRenderExternal
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
JavaScriptTest.php
Tests rendering an external JavaScript file.
JavaScriptTest::testReset
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
JavaScriptTest.php
Tests to see if resetting the JavaScript empties the cache.
JavaScriptTest::testVersionQueryString
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
JavaScriptTest.php
Tests JavaScript versioning.
LocaleLibraryInfoAlterTest::testLibraryInfoAlter
in drupal/
core/
modules/
locale/
lib/
Drupal/
locale/
Tests/
LocaleLibraryInfoAlterTest.php
Verifies that the datepicker can be localized.
overlay_set_mode
in drupal/
core/
modules/
overlay/
overlay.module
Sets the overlay mode and adds proper JavaScript and styles to the page.
seven_preprocess_html
in drupal/
core/
themes/
seven/
template.php
Implements
hook_preprocess_HOOK
() for
html.tpl.php
.
system_performance_settings
in drupal/
core/
modules/
system/
system.admin.inc
Form builder; Configure site performance settings.
system_user_timezone
in drupal/
core/
modules/
system/
system.module
Add the time zone field to the user edit and register forms.
template_process_html
in drupal/
core/
includes/
theme.inc
Process variables for
html.tpl.php
theme_simpletest_test_table
in drupal/
core/
modules/
simpletest/
simpletest.pages.inc
Returns HTML for a test list generated by
simpletest_test_form
() into a table.
theme_table
in drupal/
core/
includes/
theme.inc
Returns HTML for a table.
theme_tableselect
in drupal/
core/
includes/
form.inc
Returns HTML for a table with radio buttons or checkboxes.
theme_taxonomy_overview_terms
in drupal/
core/
modules/
taxonomy/
taxonomy.admin.inc
Returns HTML for a terms overview form as a sortable list of terms.
theme_vertical_tabs
in drupal/
core/
includes/
form.inc
Returns HTML for an element's children details as vertical tabs.
user_filter_form
in drupal/
core/
modules/
user/
user.admin.inc
Form builder; Return form for user administration filters.
_batch_progress_page
in drupal/
core/
includes/
batch.inc
Outputs a batch processing page.