drupal_get_filename

Functions that call drupal_get_filename()

Namesort iconLocationDescription
drupal_get_filenameincludes/bootstrap.incReturns and optionally sets the filename for a system item (module, theme, etc.). The filename, whether provided, cached, or retrieved from the database, is only returned if the file exists.
drupal_get_pathincludes/common.incReturns the path to a system item (module, theme, etc.).
drupal_install_profileincludes/install.incInstall a profile (i.e. a set of modules) from scratch. The profile must be verified first using drupal_verify_profile().
drupal_loadincludes/bootstrap.incIncludes a file with the provided type and name. This prevents including a theme, engine, module, etc., more than once.
module_listincludes/module.incCollect a list of all loaded modules. During the bootstrap, return only vital modules. See bootstrap.inc
system_modules_uninstall_confirm_formmodules/system/system.moduleConfirm uninstall of selected modules.
system_theme_datamodules/system/system.moduleCollect data about all currently available themes

Functions called by drupal_get_filename()

Namesort iconLocationDescription
conf_pathincludes/bootstrap.incFind the appropriate configuration directory.
db_queryincludes/database.incRuns a basic query in the active database.
db_resultincludes/database.pgsql.incReturn an individual result field from the previous query.
drupal_get_filenameincludes/bootstrap.incReturns and optionally sets the filename for a system item (module, theme, etc.). The filename, whether provided, cached, or retrieved from the database, is only returned if the file exists.
 
 

Drupal is a registered trademark of Dries Buytaert.