drupal_get_path

Versions
mediamosa-21
drupal_get_path($type, $name)

Returns the path to a system item (module, theme, etc.).

Parameters

$type The type of the item (i.e. theme, theme_engine, module, profile).

$name The name of the item for which the path is requested.

Return value

The path to the requested item.

▾ 145 functions call drupal_get_path()

aggregator_init in modules/aggregator/aggregator.module
Implements hook_init().
aggregator_test_feed in modules/aggregator/tests/aggregator_test.module
Page callback. Generates a test feed and simulates last-modified and etags.
block_admin_configure in modules/block/block.admin.inc
Menu callback; displays the block configuration form.
block_admin_demo in modules/block/block.admin.inc
Menu callback for admin/structure/block/demo.
block_admin_display_form in modules/block/block.admin.inc
Generate main blocks administration form.
book_init in modules/book/book.module
Implements hook_init().
coder_review_form_alter in sites/all/modules/coder/coder_review/coder_review.module
Implements hook_form_alter().
coder_review_page_form in sites/all/modules/coder/coder_review/coder_review.module
Implements hook_form().
coder_review_reviews in sites/all/modules/coder/coder_review/coder_review.module
Implements hook_reviews().
coder_review_simpletest in sites/all/modules/coder/coder_review/coder_review.module
Implements hook_simpletest().
coder_upgrade_apply_parser in sites/all/modules/coder/coder_upgrade/conversions/coder_upgrade.main.inc
Apply parser conversion routines to a file.
coder_upgrade_upgrades in sites/all/modules/coder/coder_upgrade/conversions/coder_upgrade.main.inc
Implement hook_upgrades().
color_get_info in modules/color/color.module
Retrieve the color.module info for a particular theme.
color_scheme_form in modules/color/color.module
Form callback. Returns the configuration form.
color_scheme_form_submit in modules/color/color.module
Submit handler for color change form.
comment_form_alter in modules/comment/comment.module
Implements hook_form_alter().
comment_form_node_type_form_alter in modules/comment/comment.module
Implements hook_form_FORM_ID_alter().
comment_node_page_additions in modules/comment/comment.module
Build the comment-related elements for node detail pages.
common_test_js_and_css_querystring in modules/simpletest/tests/common_test.module
Adds a JavaScript file and a CSS file with a query string appended.
contextual_library in modules/contextual/contextual.module
Implements hook_library().
dashboard_admin in modules/dashboard/dashboard.module
Dashboard page callback.
dblog_init in modules/dblog/dblog.module
Implements hook_init().
devel_generate_batch_content in sites/all/modules/devel/devel_generate_batch.inc
devel_init in sites/all/modules/devel/devel.module
Implements hook_init().
devel_print_object in sites/all/modules/devel/devel.module
Display an object or array
devel_themer_init in sites/all/modules/devel/devel_themer.module
devel_themer_popup in sites/all/modules/devel/devel_themer.module
Return the popup template placed here for easy editing
drush_generate_include_devel in sites/all/modules/devel/devel_generate.drush.inc
field_attach_form in modules/field/field.attach.inc
Add form elements for all fields for an entity to a form structure.
field_attach_view in modules/field/field.attach.inc
Returns a renderable array for the fields on an entity.
field_view_field in modules/field/field.module
Returns a renderable array for the value of a single field in an entity.
file_element_info in modules/file/file.module
Implements hook_element_info().
file_field_settings_form in modules/file/file.field.inc
Implements hook_field_settings_form().
file_icon_path in modules/file/file.module
Given a file object, create a path to a matching icon.
filter_admin_format_form in modules/filter/filter.admin.inc
Generate a text format form.
filter_process_format in modules/filter/filter.module
Expands an element into a base element with text format selector attached.
forum_init in modules/forum/forum.module
Implements hook_init().
has_krumo in sites/all/modules/devel/devel.module
help_main in modules/help/help.admin.inc
Menu callback; prints a page listing a glossary of Drupal terminology.
help_page in modules/help/help.admin.inc
Menu callback; prints a page listing general help for a module.
hook_css_alter in modules/system/system.api.php
Alter CSS files before they are output on the page.
hook_init in modules/system/system.api.php
Perform setup tasks. See also, hook_boot.
hook_js_alter in modules/system/system.api.php
Perform necessary alterations to the JavaScript before it is presented on the page.
hook_language_negotiation_info in modules/locale/locale.api.php
Allow modules to define their own language providers.
hook_library in modules/system/system.api.php
Registers JavaScript/CSS libraries associated with a module.
hook_library_alter in modules/system/system.api.php
Alters the JavaScript/CSS library registry.
hook_overlay_parent_initialize in modules/overlay/overlay.api.php
Allow modules to act when an overlay parent window is initialized.
image_effect_form in modules/image/image.admin.inc
Form builder; Form for adding and editing image effects.
image_field_widget_process in modules/image/image.field.inc
An element #process callback for the image_image field type.
image_style_form in modules/image/image.admin.inc
Form builder; Edit an image style name and effects order.
image_style_list in modules/image/image.admin.inc
Menu callback; Listing of all current image styles.
install_configure_form in includes/install.core.inc
Installation task; configure settings for the new site.
locale_language_switcher_session in includes/locale.inc
Return the session language switcher block.
locale_translate_seek_screen in modules/locale/locale.admin.inc
String search screen.
mediamosa_app_menu in sites/all/modules/mediamosa/modules/app/mediamosa_app.module
Implements hook_menu().
mediamosa_browse_asset_list_form in sites/all/modules/mediamosa/maintenance/browse/mediamosa_maintenance_browse_asset.inc
Form builder; asset listing page.
mediamosa_browse_collection_list_form in sites/all/modules/mediamosa/maintenance/browse/mediamosa_maintenance_browse_collection.inc
Form builder; collection listing page.
mediamosa_configuration_menu in sites/all/modules/mediamosa/configuration/mediamosa_configuration.module
Implements hook_menu().
mediamosa_development_rest_form in sites/all/modules/mediamosa_development/mediamosa_development.admin.inc
The form to execute a REST call.
mediamosa_integrity_check_start_submit in sites/all/modules/mediamosa/modules/integrity_check/mediamosa_integrity_check.module
Submit.
mediamosa_maintenance_browse_revision_form in sites/all/modules/mediamosa/maintenance/browse/mediamosa_maintenance_browse_revision.inc
Show listing of the revisions (of our nodes).
mediamosa_server_menu in sites/all/modules/mediamosa/modules/server/mediamosa_server.module
Implements hook_menu().
mediamosa_statistics_filter_form in sites/all/modules/mediamosa/modules/statistics/mediamosa_statistics.inc
Form builder; Return form for mediafile filters.
mediamosa_statistics_menu in sites/all/modules/mediamosa/modules/statistics/mediamosa_statistics.module
Implements hook_menu().
mediamosa_transcode_menu in sites/all/modules/mediamosa/modules/transcode/mediamosa_transcode.module
Implements hook_menu().
menu_edit_menu in modules/menu/menu.admin.inc
Menu callback; Build the form that handles the adding/editing of a custom menu.
menu_form_alter in modules/menu/menu.module
Implements hook_form_alter(). Adds menu item fields to the node form.
menu_form_node_type_form_alter in modules/menu/menu.module
Implements hook_form_FORM_ID_alter() for the node type form. Adds menu options to the node type form.
menu_overview_form in modules/menu/menu.admin.inc
Form for editing an entire menu tree at once.
module_load_include in includes/module.inc
Load a module include file.
node_form in modules/node/node.pages.inc
Generate the node add/edit form array.
node_init in modules/node/node.module
Implements hook_init().
node_mass_update in 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 modules/node/content_types.inc
Generates the node type editing form.
openid_user_identities in modules/openid/openid.pages.inc
Menu callback; Manage OpenID identities for the specified user.
overlay_init in modules/overlay/overlay.module
Implements hook_init().
overlay_library in modules/overlay/overlay.module
Implements hook_library().
path_form_alter in modules/path/path.module
Implements hook_form_alter().
php_eval in modules/php/php.module
Evaluate a string of PHP code.
poll_init in modules/poll/poll.module
Implements hook_init().
poll_more_choices_submit in modules/poll/poll.module
Submit handler to add more choices to a poll form.
search_form in modules/search/search.module
Render a search form.
search_menu in modules/search/search.module
Implements hook_menu().
seven_css_alter in themes/seven/template.php
Implements hook_css_alter().
seven_tablesort_indicator in themes/seven/template.php
Override of theme_tablesort_indicator().
shortcut_preprocess_page in modules/shortcut/shortcut.module
Implements hook_preprocess_page().
shortcut_set_customize in modules/shortcut/shortcut.admin.inc
Form callback: builds the form for customizing shortcut sets.
shortcut_set_switch in modules/shortcut/shortcut.admin.inc
Form callback: builds the form for switching shortcut sets.
shortcut_toolbar_pre_render in modules/shortcut/shortcut.module
Pre-render function for adding shortcuts to the toolbar drawer.
simpletest_js_alter in modules/simpletest/simpletest.module
Implements hook_js_alter().
simpletest_result_form in modules/simpletest/simpletest.pages.inc
Test results form for $test_id.
simpletest_run_tests in modules/simpletest/simpletest.module
Actually runs tests.
system_add_date_format_type_form in modules/system/system.admin.inc
Add new date type.
system_clean_url_settings in modules/system/system.admin.inc
Form builder; Configure clean URL settings.
system_configure_date_formats_form in modules/system/system.admin.inc
Allow users to add additional date formats.
system_image_toolkits in modules/system/system.module
Implements hook_image_toolkits().
system_init in modules/system/system.module
Implements hook_init().
system_performance_settings in modules/system/system.admin.inc
Form builder; Configure site performance settings.
taxonomy_form_vocabulary in modules/taxonomy/taxonomy.admin.inc
Display form for adding and editing vocabularies.
taxonomy_term_view in modules/taxonomy/taxonomy.module
Generate an array for rendering the given term.
template_preprocess_field_ui_field_overview_form in modules/field_ui/field_ui.admin.inc
Theme preprocess function for field_ui-field-overview-form.tpl.php.
text_field_widget_form in modules/field/modules/text/text.module
Implements hook_field_widget_form().
theme_coder_review_warning in sites/all/modules/coder/coder_review/coder_review.module
Format a coder_review warning to be included in results.
theme_color_scheme_form in modules/color/color.module
Theme the color form.
theme_dashboard in modules/dashboard/dashboard.module
Theme the entire dashboard.
theme_image_style_preview in modules/image/image.admin.inc
Theme callback for displaying a preview of an image style.
theme_mediamosa_maintenance_browse_properties in sites/all/modules/mediamosa/maintenance/browse/mediamosa_maintenance_browse.inc
Our asset/collection detail view.
theme_mediamosa_simpletest_test_table in sites/all/modules/mediamosa/maintenance/browse/mediamosa_maintenance_browse_simpletest.inc
Reuse simpletest test table.
theme_profile_admin_overview in modules/profile/profile.admin.inc
Theme the profile field overview into a drag and drop enabled table.
theme_simpletest_test_table in modules/simpletest/simpletest.pages.inc
Theme the test list generated by simpletest_test_form() into a table.
theme_taxonomy_overview_terms in modules/taxonomy/taxonomy.admin.inc
Theme the terms overview as a sortable list of terms.
theme_update_report in modules/update/update.report.inc
Theme project status report.
toolbar_theme in modules/toolbar/toolbar.module
Implements hook_theme().
toolbar_view in modules/toolbar/toolbar.module
Build the admin menu as a structured array ready for drupal_render().
tracker_page in modules/tracker/tracker.pages.inc
Menu callback; prints a listing of active nodes on the site.
update_access_allowed in ./update.php
Determines if the current user is allowed to run update.php.
update_authorize_run_install in modules/update/update.authorize.inc
Callback invoked by authorize.php to install a new project.
update_authorize_run_update in modules/update/update.authorize.inc
Callback invoked by authorize.php to update existing projects.
update_manager_install_form_submit in modules/update/update.manager.inc
Handle form submission when installing new projects via the update manager.
update_manager_update_form in modules/update/update.manager.inc
Build the form for the update manager page to update existing projects.
update_manager_update_form_submit in modules/update/update.manager.inc
Submit function for the main update form.
update_manager_update_ready_form_submit in modules/update/update.manager.inc
Submit handler for the form to confirm that an update should continue.
update_manual_status in modules/update/update.fetch.inc
Callback to manually check the update status without cron.
update_test_mock_page in modules/update/tests/update_test.module
Page callback, prints mock XML for the update module.
user_admin_permissions in modules/user/user.admin.inc
Menu callback: administer permissions.
user_admin_settings in modules/user/user.admin.inc
Form builder; Configure user settings for this site.
user_form_process_password_confirm in modules/user/user.module
Form element process handler for client-side password validation.
user_init in modules/user/user.module
Implements hook_init().
user_menu in modules/user/user.module
Implements hook_menu().
_aggregator_get_variables in modules/aggregator/aggregator.module
_batch_test_batch_0 in modules/simpletest/tests/batch_test.module
Batch 0: no operation.
_batch_test_batch_1 in modules/simpletest/tests/batch_test.module
Batch 1: repeats a simple operation.
_batch_test_batch_2 in modules/simpletest/tests/batch_test.module
Batch 2: single multistep operation.
_batch_test_batch_3 in modules/simpletest/tests/batch_test.module
Batch 3: both single and multistep operations.
_batch_test_batch_4 in modules/simpletest/tests/batch_test.module
Batch 4: batch within a batch.
_book_add_form_elements in modules/book/book.module
Build the common elements of the book form for the node and outline forms.
_coder_review_modified in sites/all/modules/coder/coder_review/coder_review.module
Return last modification timestamp of coder_review and all of its dependencies.
_coder_review_settings_form in sites/all/modules/coder/coder_review/coder_review.module
Build settings form API array for coder_review.
_drupal_maintenance_theme in includes/theme.maintenance.inc
Sets up the theming system for site installs, updates and when the site is in maintenance mode. It also applies when the database is unavailable.
_locale_translate_language_list in includes/locale.inc
List languages in search result table
_mediamosa_maintenance_status in sites/all/modules/mediamosa/maintenance/mediamosa_maintenance.module
Generate the status page.
_menu_router_build in includes/menu.inc
Helper function to build the router table based on the data from hook_menu.
_menu_site_is_offline in includes/menu.inc
Checks whether the site is in maintenance mode.
_openid_user_login_form_alter in modules/openid/openid.module
_theme_build_registry in includes/theme.inc
Rebuild the theme registry cache.

Code

includes/common.inc, line 2532

<?php
function drupal_get_path($type, $name) {
  return dirname(drupal_get_filename($type, $name));
}
?>