Functions

Primary tabs

Name Location Description Direct usessort descending Strings
translation_node_get_translations drupal/core/modules/translation/translation.module Gets all nodes in a given translation set. 7
user_is_anonymous drupal/core/modules/user/user.module 7 2
user_preferred_langcode drupal/core/modules/user/user.module Get the language object preferred by the user. This user preference can be set on the user account editing page, and is only available if there are more than one languages enabled on the site. If the user did not choose a preferred language, or is the… 7
taxonomy_term_delete drupal/core/modules/taxonomy/taxonomy.module Deletes a term. 7
taxonomy_vocabulary_machine_name_load drupal/core/modules/taxonomy/taxonomy.module Return the taxonomy vocabulary entity matching a vocabulary machine name. 7 1
rdf_mapping_load drupal/core/modules/rdf/rdf.module Returns the mapping for attributes of a given entity type/bundle pair. 7 1
file_save_data drupal/core/modules/file/file.module Saves a file to the specified destination and creates a database entry. 7
filter_formats_reset drupal/core/modules/filter/filter.module Resets the text format caches. 7
language_negotiation_url_domains drupal/core/modules/language/language.negotiation.inc Reads language domains. 7 1
comment_delete_multiple drupal/core/modules/comment/comment.module Deletes comments and all their replies. 7
field_test_entity_info_translatable drupal/core/modules/field/tests/modules/field_test/field_test.entity.inc Helper function to enable entity translations. 7
field_test_create_bundle drupal/core/modules/field/tests/modules/field_test/field_test.entity.inc Creates a new bundle for test_entity entities. 7
token_find_with_prefix drupal/core/includes/token.inc Given a list of tokens, returns those that begin with a specific prefix. 8
drupal_install_profile_distribution_name drupal/core/includes/install.inc Loads the installation profile, extracting its defined distribution name. 8
drupal_ucfirst drupal/core/includes/unicode.inc Capitalize the first letter of a UTF-8 string. 8
drupal_mkdir drupal/core/includes/file.inc Creates a directory using Drupal's default mode. 8
drupal_random_bytes drupal/core/includes/bootstrap.inc Returns a string of highly randomized bytes (over the full 8-bit range). 8
drupal_get_user_timezone drupal/core/includes/bootstrap.inc Returns the time zone of the current user. 8
entity_info_cache_clear drupal/core/includes/entity.inc Resets the cached information about entity types. 8
entity_delete_multiple drupal/core/includes/entity.inc Deletes multiple entities permanently. 8
entity_get_controller drupal/core/includes/entity.inc Gets the entity controller class for an entity type. 8
drupal_set_breadcrumb drupal/core/includes/common.inc Sets the breadcrumb trail for the current page. 8
drupal_add_feed drupal/core/includes/common.inc Adds a feed URL for the current page. 8
drupal_strip_dangerous_protocols drupal/core/includes/common.inc Strips dangerous protocols (e.g. 'javascript:') from a URI. 8
drupal_json_encode drupal/core/includes/common.inc Converts a PHP variable into its JavaScript equivalent. 8
form_state_defaults drupal/core/includes/form.inc Retrieves default values for the $form_state array. 8
drupal_mail drupal/core/includes/mail.inc Composes and optionally sends an e-mail message. 8
drupal_theme_rebuild drupal/core/includes/theme.inc Force the system to rebuild the theme registry; this should be called when modules are added to the system, or when a dynamic system needs to add more theme hooks. 8
_menu_link_translate drupal/core/includes/menu.inc Provides menu link access control, translation, and argument handling. 8
module_implements_reset drupal/core/includes/module.inc Regenerates the stored list of hook implementations. 8
module_set_weight drupal/core/includes/module.inc Sets weight of a particular module. 8
xmlrpc_error drupal/core/modules/xmlrpc/xmlrpc.inc Generates, temporarily saves, and returns an XML-RPC error object. 8
_openid_get_math_library drupal/core/modules/openid/openid.inc Determine the available math library GMP vs. BCMath, favouring GMP for performance. 8
views_get_all_views drupal/core/modules/views/views.module Returns an array of all views as fully loaded $view objects. 8
field_filter_xss drupal/core/modules/field/field.module Filters an HTML string to prevent cross-site-scripting (XSS) vulnerabilities. 8 1
_field_info_field_cache drupal/core/modules/field/field.info.inc Retrieves the Drupal\field\FieldInfo object for the current request. 8
field_attach_form drupal/core/modules/field/field.attach.inc Adds form elements for all fields for an entity to a form structure. 8
field_attach_view drupal/core/modules/field/field.attach.inc Returns a renderable array for the fields on an entity. 8
node_type_set_defaults drupal/core/modules/node/node.module Sets the default values for a node type. 8
node_hook drupal/core/modules/node/node.module Determines whether a node hook exists. 8
node_update_index drupal/core/modules/node/node.module Implements hook_update_index(). 8
translation_supported_type drupal/core/modules/translation/translation.module Returns whether the given content type has support for translations. 8
user_password drupal/core/modules/user/user.module Generate a random alphanumeric password. 8
taxonomy_vocabulary_delete drupal/core/modules/taxonomy/taxonomy.module Deletes a vocabulary. 8
taxonomy_term_load_parents drupal/core/modules/taxonomy/taxonomy.module Finds all parents of a given term ID. 8 1
filter_get_filters drupal/core/modules/filter/filter.module Returns a list of all filters provided by modules. 8 2
_text_sanitize drupal/core/modules/field/modules/text/text.module Sanitizes the 'value' or 'summary' data of a text value. 8
_file_test_log_call drupal/core/modules/file/tests/file_test/file_test.module Store the values passed to a hook invocation. 8
_image_test_log_call drupal/core/modules/system/tests/modules/image_test/image_test.module Store the values passed to a toolkit call. 8
language_types_get_configurable drupal/core/includes/language.inc Returns only the configurable language types. 9 1

Pages

Other projects