Functions

Primary tabs

Name Location Description Direct usessort descending Strings
file_prepare_directory drupal/includes/file.inc Checks that the directory exists and is writable. 24
filter_xss drupal/includes/common.inc Filters HTML to prevent cross-site-scripting (XSS) vulnerabilities. 24
base_path drupal/includes/common.inc Returns the base URL path (i.e., directory) of the Drupal installation. 24
form_set_value drupal/includes/form.inc Changes submitted form values during form validation. 24
conf_path drupal/includes/bootstrap.inc Returns the appropriate configuration directory. 24 3
drupal_add_http_header drupal/includes/bootstrap.inc Sets an HTTP response header for the current page. 24
db_table_exists drupal/includes/database/database.inc Checks if a table exists. 24
db_drop_table drupal/includes/database/database.inc Drops a table. 25
db_add_field drupal/includes/database/database.inc Adds a new field to a table. 25
node_type_get_name drupal/modules/node/node.module Returns the node type name of the passed node or node type string. 25
node_save drupal/modules/node/node.module Saves changes to a node or adds a new node. 25 1
file_scan_directory drupal/includes/file.inc Finds all files that match a given mask in a given directory. 26 1
list_themes drupal/includes/theme.inc Returns a list of all currently available themes. 26 1
language_default drupal/includes/bootstrap.inc Returns the default language, as an object, or one of its properties. 26 9
field_info_instances drupal/modules/field/field.info.inc Retrieves information about field instances. 26
field_update_field drupal/modules/field/field.crud.inc Updates a field. 26
module_enable drupal/includes/module.inc Enables or installs a given list of modules. 27
drupal_get_schema drupal/includes/bootstrap.inc Gets the schema definition of a table, or the whole database schema. 27
user_save drupal/modules/user/user.module Save changes to a user account or add a new user. 27
form_error drupal/includes/form.inc Flags an element as having an error. 28
drupal_hash_base64 drupal/includes/bootstrap.inc Calculates a base-64 encoded, URL-safe sha-256 hash. 28
arg drupal/includes/bootstrap.inc Returns a component of the current Drupal path. 28
drupal_get_destination drupal/includes/common.inc Prepares a 'destination' URL query parameter for use with drupal_goto(). 29
format_interval drupal/includes/common.inc Formats a time interval with the requested granularity. 30 8
file_uri_scheme drupal/includes/file.inc Returns the scheme of a URI (e.g. a stream). 31
format_username drupal/includes/common.inc Format a username. 31 1
drupal_render_children drupal/includes/common.inc Renders children of an element and concatenates them. 31
menu_get_item drupal/includes/menu.inc Gets a router item. 31
module_list drupal/includes/module.inc Returns a list of currently active modules. 32
drupal_basename drupal/includes/file.inc Gets the filename from a given path. 32
drupal_write_record drupal/includes/common.inc Saves (inserts or updates) a record to the database based upon the schema. 33
db_add_index drupal/includes/database/database.inc Adds an index. 33
file_create_url drupal/includes/file.inc Creates a web-accessible URL for a stream to an external or local file. 37
entity_get_info drupal/includes/common.inc Get the entity info array of an entity type. 37 1
db_create_table drupal/includes/database/database.inc Creates a new table from a Drupal table definition. 37
drupal_map_assoc drupal/includes/common.inc Forms an associative array from a linear array. 38
st drupal/includes/install.inc Translates a string when some systems are not available. 39 2
file_load drupal/includes/file.inc Loads a single file object from the database. 39
drupal_attributes drupal/includes/common.inc Converts an associative array to an XML/HTML tag attribute string. 41
drupal_add_css drupal/includes/common.inc Adds a cascading stylesheet to the stylesheet queue. 42 3
entity_extract_ids drupal/includes/common.inc Helper function to extract id, vid, and bundle name from an entity. 42
module_exists drupal/includes/module.inc Determines whether a given module exists. 43
confirm_form drupal/modules/system/system.module Generates a form array for a confirmation form. 43
field_test_create_stub_entity drupal/modules/field/tests/field_test.entity.inc Creates a basic test_entity entity. 43 1
drupal_goto drupal/includes/common.inc Sends the user to a different page. 45 4
module_load_include drupal/includes/module.inc Loads a module include file. 46
field_info_instance drupal/modules/field/field.info.inc Returns an array of instance data for a specific field and bundle. 46
drupal_realpath drupal/includes/file.inc Resolves the absolute filepath of a local URI or filepath. 47
language_list drupal/includes/bootstrap.inc Returns a list of installed languages, indexed by the specified key. 47 14
drupal_strtolower drupal/includes/unicode.inc Lowercase a UTF-8 string. 49

Pages

Other projects