Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 7.x
»
common.inc
»
drupal_get_path
Search Drupal 7.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 7.x
Topics
Classes
Functions
Files
Namespaces
Constants
Globals
170 calls to drupal_get_path()
AggregatorTestCase::getAtomSample
in drupal/
modules/
aggregator/
aggregator.test
AggregatorTestCase::getHtmlEntitiesSample
in drupal/
modules/
aggregator/
aggregator.test
AggregatorTestCase::getRSS091Sample
in drupal/
modules/
aggregator/
aggregator.test
AggregatorUpdatePathTestCase::setUp
in drupal/
modules/
simpletest/
tests/
upgrade/
update.aggregator.test
Overrides
DrupalWebTestCase::setUp
() for upgrade testing.
aggregator_test_feed
in drupal/
modules/
aggregator/
tests/
aggregator_test.module
Page callback. Generates a test feed and simulates last-modified and etags.
AJAXFrameworkTestCase::testLazyLoad
in drupal/
modules/
simpletest/
tests/
ajax.test
Test that new JavaScript and CSS files added during an AJAX request are returned.
ajax_forms_test_lazy_load_form_submit
in drupal/
modules/
simpletest/
tests/
ajax_forms_test.module
Form submit handler: Adds JavaScript and CSS that wasn't on the original form.
ajax_test_system_theme_info
in drupal/
modules/
simpletest/
tests/
ajax_test.module
Implements
hook_system_theme_info
().
bartik_preprocess_maintenance_page
in drupal/
themes/
bartik/
template.php
Implements hook_preprocess_maintenance_page().
BasicMinimalUpdatePath::setUp
in drupal/
modules/
simpletest/
tests/
upgrade/
upgrade.test
Overrides
DrupalWebTestCase::setUp
() for upgrade testing.
BasicStandardUpdatePath::setUp
in drupal/
modules/
simpletest/
tests/
upgrade/
upgrade.test
Overrides
DrupalWebTestCase::setUp
() for upgrade testing.
BasicUpgradePath::setUp
in drupal/
modules/
simpletest/
tests/
upgrade/
upgrade.test
Overrides
DrupalWebTestCase::setUp
() for upgrade testing.
block-admin-display-form.tpl.php
in drupal/
modules/
block/
block-admin-display-form.tpl.php
Default theme implementation to configure blocks.
block_admin_configure
in drupal/
modules/
block/
block.admin.inc
Form constructor for the block configuration form.
block_admin_demo
in drupal/
modules/
block/
block.admin.inc
Menu callback for admin/structure/block/demo.
block_admin_display_form
in drupal/
modules/
block/
block.admin.inc
Form constructor for the main block administration form.
block_test_system_theme_info
in drupal/
modules/
block/
tests/
block_test.module
Implements
hook_system_theme_info
().
CascadingStylesheetsTestCase::testAddCssFileWithQueryString
in drupal/
modules/
simpletest/
tests/
common.test
Tests that the query string remains intact when adding CSS files that have query string parameters.
CascadingStylesheetsTestCase::testAddFile
in drupal/
modules/
simpletest/
tests/
common.test
Tests adding a file stylesheet.
CascadingStylesheetsTestCase::testAlter
in drupal/
modules/
simpletest/
tests/
common.test
Tests Locale module's CSS Alter to include RTL overrides.
CascadingStylesheetsTestCase::testRenderFile
in drupal/
modules/
simpletest/
tests/
common.test
Tests rendering the stylesheets.
CascadingStylesheetsTestCase::testRenderOrder
in drupal/
modules/
simpletest/
tests/
common.test
Test CSS ordering.
CascadingStylesheetsTestCase::testRenderOverride
in drupal/
modules/
simpletest/
tests/
common.test
Test CSS override.
CascadingStylesheetsUnitTest::testLoadCssBasic
in drupal/
modules/
simpletest/
tests/
common.test
Tests basic CSS loading with and without optimization via
drupal_load_stylesheet
().
color_get_info
in drupal/
modules/
color/
color.module
Retrieves the Color module information for a particular theme.
color_scheme_form
in drupal/
modules/
color/
color.module
Form constructor for the color configuration form for a particular theme.
color_scheme_form_submit
in drupal/
modules/
color/
color.module
Form submission handler for
color_scheme_form
().
CommentUpgradePathTestCase::setUp
in drupal/
modules/
simpletest/
tests/
upgrade/
upgrade.comment.test
Overrides
DrupalWebTestCase::setUp
() for upgrade testing.
comment_form_node_form_alter
in drupal/
modules/
comment/
comment.module
Implements
hook_form_BASE_FORM_ID_alter
().
comment_form_node_type_form_alter
in drupal/
modules/
comment/
comment.module
Implements
hook_form_FORM_ID_alter
().
common_test_js_and_css_querystring
in drupal/
modules/
simpletest/
tests/
common_test.module
Adds a JavaScript file and a CSS file with a query string appended.
contextual_library
in drupal/
modules/
contextual/
contextual.module
Implements
hook_library
().
dashboard_admin
in drupal/
modules/
dashboard/
dashboard.module
Page callback: Displays the dashboard.
dashboard_theme
in drupal/
modules/
dashboard/
dashboard.module
Implements
hook_theme
().
dblog_init
in drupal/
modules/
dblog/
dblog.module
Implements
hook_init
().
DisabledNodeTypeTestCase::setUp
in drupal/
modules/
simpletest/
tests/
upgrade/
upgrade.node.test
Overrides
DrupalWebTestCase::setUp
() for upgrade testing.
DrupalRenderTestCase::testDrupalRenderChildrenAttached
in drupal/
modules/
simpletest/
tests/
common.test
Test #attached functionality in children elements.
DrupalWebTestCase::drupalGetTestFiles
in drupal/
modules/
simpletest/
drupal_web_test_case.php
Get a list files that can be used in tests.
drupal_get_filetransfer_info
in drupal/
includes/
common.inc
Assembles the Drupal FileTransfer registry.
drupal_install_system
in drupal/
includes/
install.inc
Installs the system module.
FieldUpdatePathTestCase::setUp
in drupal/
modules/
simpletest/
tests/
upgrade/
update.field.test
Overrides
DrupalWebTestCase::setUp
() for upgrade testing.
field_ui_display_overview_form
in drupal/
modules/
field_ui/
field_ui.admin.inc
Form constructor for the field display settings for a given view mode.
field_ui_field_overview_form
in drupal/
modules/
field_ui/
field_ui.admin.inc
Form constructor for the 'Manage fields' form of a bundle.
FileScanDirectoryTest::setUp
in drupal/
modules/
simpletest/
tests/
file.test
Sets up a Drupal site for running functional and integration tests.
FileScanDirectoryTest::testOptionRecurse
in drupal/
modules/
simpletest/
tests/
file.test
Check that the recurse option decends into subdirectories.
file_element_info
in drupal/
modules/
file/
file.module
Implements
hook_element_info
().
file_field_settings_form
in drupal/
modules/
file/
file.field.inc
Implements
hook_field_settings_form
().
file_icon_path
in drupal/
modules/
file/
file.module
Creates a path to the icon for a file object.
FilledMinimalUpdatePath::setUp
in drupal/
modules/
simpletest/
tests/
upgrade/
upgrade.test
Overrides
DrupalWebTestCase::setUp
() for upgrade testing.
FilledStandardUpdatePath::setUp
in drupal/
modules/
simpletest/
tests/
upgrade/
upgrade.test
Overrides
DrupalWebTestCase::setUp
() for upgrade testing.
FilterFormatUpgradePathTestCase::setUp
in drupal/
modules/
simpletest/
tests/
upgrade/
upgrade.filter.test
Overrides
DrupalWebTestCase::setUp
() for upgrade testing.
FilterUnitTestCase::testUrlFilterContent
in drupal/
modules/
filter/
filter.test
Tests URL filter on longer content.
filter_admin_format_form
in drupal/
modules/
filter/
filter.admin.inc
Form constructor for the text format add/edit form.
filter_process_format
in drupal/
modules/
filter/
filter.module
Expands an element into a base element with text format selector attached.
form_test_menu
in drupal/
modules/
simpletest/
tests/
form_test.module
Implements
hook_menu
().
ForumUpgradePathTestCase::setUp
in drupal/
modules/
simpletest/
tests/
upgrade/
upgrade.forum.test
Overrides
DrupalWebTestCase::setUp
() for upgrade testing.
HelpTestCase::testHelp
in drupal/
modules/
help/
help.test
Logs in users, creates dblog events, and tests dblog functionality.
help_main
in drupal/
modules/
help/
help.admin.inc
Menu callback; prints a page listing a glossary of Drupal terminology.
hook_init
in drupal/
modules/
system/
system.api.php
Perform setup tasks for non-cached page requests.
hook_js_alter
in drupal/
modules/
system/
system.api.php
Perform necessary alterations to the JavaScript before it is presented on the page.
hook_language_negotiation_info
in drupal/
modules/
system/
language.api.php
Define language negotiation providers.
hook_overlay_child_initialize
in drupal/
modules/
overlay/
overlay.api.php
Allow modules to act when an overlay child window is initialized.
hook_overlay_parent_initialize
in drupal/
modules/
overlay/
overlay.api.php
Allow modules to act when an overlay parent window is initialized.
hook_system_theme_engine_info
in drupal/
modules/
system/
system.api.php
Return additional theme engines provided by modules.
hook_system_theme_info
in drupal/
modules/
system/
system.api.php
Return additional themes provided by modules.
ImageToolkitGdTestCase::testManipulations
in drupal/
modules/
simpletest/
tests/
image.test
Since PHP can't visually check that our images have been manipulated properly, build a list of expected color values for each of the corners and the expected height and widths for the final images.
ImageToolkitGdTestCase::testTransparentColorOutOfRange
in drupal/
modules/
simpletest/
tests/
image.test
Tests loading an image whose transparent color index is out of range.
image_field_widget_process
in drupal/
modules/
image/
image.field.inc
An element #process callback for the image_image field type.
install_configure_form
in drupal/
includes/
install.core.inc
Form constructor for a form to configure the new site.
JavaScriptTestCase::testAddJsFileWithQueryString
in drupal/
modules/
simpletest/
tests/
common.test
Tests that the query string remains intact when adding JavaScript files that have query string parameters.
JavaScriptTestCase::testAlter
in drupal/
modules/
simpletest/
tests/
common.test
Test altering a JavaScript's weight via
hook_js_alter
().
LocaleJavascriptTranslationTest::testFileParsing
in drupal/
modules/
locale/
locale.test
LocaleUpgradePathTestCase::setUp
in drupal/
modules/
simpletest/
tests/
upgrade/
upgrade.locale.test
Overrides
DrupalWebTestCase::setUp
() for upgrade testing.
locale_block_view
in drupal/
modules/
locale/
locale.module
Implements
hook_block_view
().
locale_language_switcher_session
in drupal/
includes/
locale.inc
Return the session language switcher block.
locale_library_alter
in drupal/
modules/
locale/
locale.module
Implement
hook_library_alter
().
locale_test_language_negotiation_info
in drupal/
modules/
locale/
tests/
locale_test.module
Implements
hook_language_negotiation_info
().
locale_translate_seek_screen
in drupal/
modules/
locale/
locale.admin.inc
String search screen.
MenuUpgradePathTestCase::setUp
in drupal/
modules/
simpletest/
tests/
upgrade/
upgrade.menu.test
Overrides
DrupalWebTestCase::setUp
() for upgrade testing.
menu_form_node_form_alter
in drupal/
modules/
menu/
menu.module
Implements
hook_form_BASE_FORM_ID_alter
().
menu_form_node_type_form_alter
in drupal/
modules/
menu/
menu.module
Implements
hook_form_FORM_ID_alter
().
menu_overview_form
in drupal/
modules/
menu/
menu.admin.inc
Form for editing an entire menu tree at once.
ModuleUnitTest::testModuleList
in drupal/
modules/
simpletest/
tests/
module.test
The basic functionality of
module_list
().
ModuleUpdater::canUpdate
in drupal/
modules/
system/
system.updater.inc
ModuleUpdater::getInstallDirectory
in drupal/
modules/
system/
system.updater.inc
Return the directory where a module should be installed.
module_load_include
in drupal/
includes/
module.inc
Loads a module include file.
NodeBodyUpgradePathTestCase::setUp
in drupal/
modules/
simpletest/
tests/
upgrade/
upgrade.node.test
Overrides
DrupalWebTestCase::setUp
() for upgrade testing.
node_form
in drupal/
modules/
node/
node.pages.inc
Form constructor for the node add/edit form.
node_mass_update
in drupal/
modules/
node/
node.admin.inc
Make mass update of nodes, changing all nodes in the $nodes array to update them with the field values in $updates.
node_type_form
in drupal/
modules/
node/
content_types.inc
Form constructor for the node type editing form.
openid_user_identities
in drupal/
modules/
openid/
openid.pages.inc
Menu callback; Manage OpenID identities for the specified user.
overlay_library
in drupal/
modules/
overlay/
overlay.module
Implements
hook_library
().
ParseInfoFilesTestCase::testParseInfoFile
in drupal/
modules/
simpletest/
tests/
common.test
Parse an example .info file an verify the results.
path_form_node_form_alter
in drupal/
modules/
path/
path.module
Implements
hook_form_BASE_FORM_ID_alter
() for
node_form
().
php_eval
in drupal/
modules/
php/
php.module
Evaluates a string of PHP code.
PollUpgradePathTestCase::setUp
in drupal/
modules/
simpletest/
tests/
upgrade/
upgrade.poll.test
Overrides
DrupalWebTestCase::setUp
() for upgrade testing.
PollUpgradePathTestCase::setUp
in drupal/
modules/
simpletest/
tests/
upgrade/
upgrade.node.test
Overrides
DrupalWebTestCase::setUp
() for upgrade testing.
seven_css_alter
in drupal/
themes/
seven/
template.php
Implements
hook_css_alter
().
seven_tablesort_indicator
in drupal/
themes/
seven/
template.php
Override of
theme_tablesort_indicator
().
shortcut_preprocess_page
in drupal/
modules/
shortcut/
shortcut.module
Implements hook_preprocess_page().
shortcut_set_customize
in drupal/
modules/
shortcut/
shortcut.admin.inc
Form callback: builds the form for customizing shortcut sets.
shortcut_set_switch
in drupal/
modules/
shortcut/
shortcut.admin.inc
Form callback: builds the form for switching shortcut sets.
shortcut_toolbar_pre_render
in drupal/
modules/
shortcut/
shortcut.module
Pre-render function for adding shortcuts to the toolbar drawer.
SimpleTestFunctionalTest::testUserAgentValidation
in drupal/
modules/
simpletest/
simpletest.test
Test validation of the User-Agent header we use to perform test requests.
simpletest_js_alter
in drupal/
modules/
simpletest/
simpletest.module
Implements
hook_js_alter
().
simpletest_result_form
in drupal/
modules/
simpletest/
simpletest.pages.inc
Test results form for $test_id.
simpletest_run_tests
in drupal/
modules/
simpletest/
simpletest.module
Actually runs tests.
StatisticsLoggingTestCase::testLogging
in drupal/
modules/
statistics/
statistics.test
Verifies request logging for cached and uncached pages.
statistics_node_view
in drupal/
modules/
statistics/
statistics.module
Implements
hook_node_view
().
system_clean_url_settings
in drupal/
modules/
system/
system.admin.inc
Form builder; Configure clean URL settings.
system_configure_date_formats_form
in drupal/
modules/
system/
system.admin.inc
Allow users to add additional date formats.
system_image_toolkits
in drupal/
modules/
system/
system.module
Implements
hook_image_toolkits
().
system_init
in drupal/
modules/
system/
system.module
Implements
hook_init
().
system_modules_uninstall_confirm_form
in drupal/
modules/
system/
system.admin.inc
Confirm uninstall of selected modules.
system_performance_settings
in drupal/
modules/
system/
system.admin.inc
Form builder; Configure site performance settings.
system_test_authorize_init_page
in drupal/
modules/
simpletest/
tests/
system_test.module
Page callback to initialize
authorize.php
during testing.
taxonomy_term_view
in drupal/
modules/
taxonomy/
taxonomy.module
Generate an array for rendering the given term.
text_field_widget_form
in drupal/
modules/
field/
modules/
text/
text.module
Implements
hook_field_widget_form
().
ThemeDebugMarkupTestCase::testDebugOutput
in drupal/
modules/
simpletest/
tests/
theme.test
Tests debug markup added to template output.
ThemeUpdater::canUpdate
in drupal/
modules/
system/
system.updater.inc
ThemeUpdater::getInstallDirectory
in drupal/
modules/
system/
system.updater.inc
Return the directory where a theme should be installed.
theme_color_scheme_form
in drupal/
modules/
color/
color.module
Returns HTML for a theme's color form.
theme_dashboard
in drupal/
modules/
dashboard/
dashboard.module
Returns HTML for the entire dashboard.
theme_image_style_preview
in drupal/
modules/
image/
image.admin.inc
Returns HTML for a preview of an image style.
theme_profile_admin_overview
in drupal/
modules/
profile/
profile.admin.inc
Returns HTML for the profile field overview form into a drag and drop enabled table.
theme_simpletest_test_table
in drupal/
modules/
simpletest/
simpletest.pages.inc
Returns HTML for a test list generated by
simpletest_test_form
() into a table.
theme_taxonomy_overview_terms
in drupal/
modules/
taxonomy/
taxonomy.admin.inc
Returns HTML for a terms overview form as a sortable list of terms.
theme_test_system_theme_engine_info
in drupal/
modules/
simpletest/
tests/
theme_test.module
Implements
hook_system_theme_engine_info
().
theme_test_system_theme_info
in drupal/
modules/
simpletest/
tests/
theme_test.module
Implements
hook_system_theme_info
().
theme_update_report
in drupal/
modules/
update/
update.report.inc
Returns HTML for the project status report.
toolbar_theme
in drupal/
modules/
toolbar/
toolbar.module
Implements
hook_theme
().
toolbar_view
in drupal/
modules/
toolbar/
toolbar.module
Builds the admin menu as a structured array ready for
drupal_render
().
TranslatableUpgradePathTestCase::setUp
in drupal/
modules/
simpletest/
tests/
upgrade/
upgrade.translatable.test
Overrides
DrupalWebTestCase::setUp
() for upgrade testing.
TriggerUpdatePathTestCase::setUp
in drupal/
modules/
simpletest/
tests/
upgrade/
update.trigger.test
Overrides
DrupalWebTestCase::setUp
() for upgrade testing.
UpdateTestUploadCase::testUploadModule
in drupal/
modules/
update/
update.test
Tests upload and extraction of a module.
update_access_allowed
in drupal/
update.php
Determines if the current user is allowed to run
update.php
.
update_authorize_run_install
in drupal/
modules/
update/
update.authorize.inc
Installs a new project when invoked by
authorize.php
.
update_authorize_run_update
in drupal/
modules/
update/
update.authorize.inc
Updates existing projects when invoked by
authorize.php
.
update_manager_install_form_submit
in drupal/
modules/
update/
update.manager.inc
Form submission handler for
update_manager_install_form
().
update_manager_update_form
in drupal/
modules/
update/
update.manager.inc
Form constructor for the update form of the Update Manager module.
update_manager_update_form_submit
in drupal/
modules/
update/
update.manager.inc
Form submission handler for
update_manager_update_form
().
update_manager_update_ready_form_submit
in drupal/
modules/
update/
update.manager.inc
Form submission handler for
update_manager_update_ready_form
().
update_manual_status
in drupal/
modules/
update/
update.fetch.inc
Page callback: Checks for updates and displays the update status report.
update_test_mock_page
in drupal/
modules/
update/
tests/
update_test.module
Page callback: Prints mock XML for the Update Manager module.
update_test_system_theme_info
in drupal/
modules/
update/
tests/
update_test.module
Implements
hook_system_theme_info
().
UpgradePathTaxonomyTestCase::setUp
in drupal/
modules/
simpletest/
tests/
upgrade/
upgrade.taxonomy.test
Overrides
DrupalWebTestCase::setUp
() for upgrade testing.
UpgradePathTriggerTestCase::setUp
in drupal/
modules/
simpletest/
tests/
upgrade/
upgrade.trigger.test
Overrides
DrupalWebTestCase::setUp
() for upgrade testing.
UploadUpgradePathTestCase::setUp
in drupal/
modules/
simpletest/
tests/
upgrade/
upgrade.upload.test
Overrides
DrupalWebTestCase::setUp
() for upgrade testing.
UserUpdatePathTestCase::setUp
in drupal/
modules/
simpletest/
tests/
upgrade/
update.user.test
Overrides
DrupalWebTestCase::setUp
() for upgrade testing.
UserUpgradePathDuplicatedPermissionTestCase::setUp
in drupal/
modules/
simpletest/
tests/
upgrade/
upgrade.user.test
Overrides
DrupalWebTestCase::setUp
() for upgrade testing.
UserUpgradePathNoPasswordTokenTestCase::setUp
in drupal/
modules/
simpletest/
tests/
upgrade/
upgrade.user.test
Overrides
DrupalWebTestCase::setUp
() for upgrade testing.
UserUpgradePathPasswordTokenTestCase::setUp
in drupal/
modules/
simpletest/
tests/
upgrade/
upgrade.user.test
Overrides
DrupalWebTestCase::setUp
() for upgrade testing.
user_admin_permissions
in drupal/
modules/
user/
user.admin.inc
Menu callback: administer permissions.
user_admin_settings
in drupal/
modules/
user/
user.admin.inc
Form builder; Configure user settings for this site.
user_form_field_ui_field_edit_form_alter
in drupal/
modules/
user/
user.module
Implements
hook_form_FORM_ID_alter
().
user_form_process_password_confirm
in drupal/
modules/
user/
user.module
Form element process handler for client-side password validation.
user_menu
in drupal/
modules/
user/
user.module
Implements
hook_menu
().
_aggregator_get_variables
in drupal/
modules/
aggregator/
aggregator.module
Gets the fetcher, parser, and processors.
_batch_test_batch_0
in drupal/
modules/
simpletest/
tests/
batch_test.module
Batch 0: no operation.
_batch_test_batch_1
in drupal/
modules/
simpletest/
tests/
batch_test.module
Batch 1: repeats a simple operation.
_batch_test_batch_2
in drupal/
modules/
simpletest/
tests/
batch_test.module
Batch 2: single multistep operation.
_batch_test_batch_3
in drupal/
modules/
simpletest/
tests/
batch_test.module
Batch 3: both single and multistep operations.
_batch_test_batch_4
in drupal/
modules/
simpletest/
tests/
batch_test.module
Batch 4: batch within a batch.
_batch_test_batch_5
in drupal/
modules/
simpletest/
tests/
batch_test.module
Batch 5: repeats a simple operation.
_book_add_form_elements
in drupal/
modules/
book/
book.module
Builds the common elements of the book form for the node and outline forms.
_drupal_maintenance_theme
in drupal/
includes/
theme.maintenance.inc
Sets up the theming system for maintenance page.
_locale_translate_language_list
in drupal/
includes/
locale.inc
List languages in search result table
_menu_router_build
in drupal/
includes/
menu.inc
Builds the router table based on the data from
hook_menu
().
_openid_user_login_form_alter
in drupal/
modules/
openid/
openid.module
_theme_build_registry
in drupal/
includes/
theme.inc
Builds the theme registry cache.