Functions

Primary tabs

Name Locationsort descending Description Direct uses Strings
db_next_id drupal/core/includes/database.inc Retrieves a unique id. 4
db_or drupal/core/includes/database.inc Returns a new DatabaseCondition, set to "OR" all conditions together. 17
db_and drupal/core/includes/database.inc Returns a new DatabaseCondition, set to "AND" all conditions together. 6
db_xor drupal/core/includes/database.inc Returns a new DatabaseCondition, set to "XOR" all conditions together.
db_condition drupal/core/includes/database.inc Returns a new DatabaseCondition, set to the specified conjunction.
db_create_table drupal/core/includes/database.inc Creates a new table from a Drupal table definition. 24
db_field_names drupal/core/includes/database.inc Returns an array of field names from an array of key/index column specifiers.
db_index_exists drupal/core/includes/database.inc Checks if an index exists in the given table. 2
db_table_exists drupal/core/includes/database.inc Checks if a table exists. 18
db_field_exists drupal/core/includes/database.inc Checks if a column exists in the given table. 10
db_find_tables drupal/core/includes/database.inc Finds all tables that are like the specified base table name. 3
_db_create_keys_sql drupal/core/includes/database.inc
db_rename_table drupal/core/includes/database.inc Renames a table. 4
db_drop_table drupal/core/includes/database.inc Drops a table. 18
db_add_field drupal/core/includes/database.inc Adds a new field to a table. 12
db_drop_field drupal/core/includes/database.inc Drops a field. 9
db_field_set_default drupal/core/includes/database.inc Sets the default value for a field. 1
db_field_set_no_default drupal/core/includes/database.inc Sets a field to have no default value. 1
db_add_primary_key drupal/core/includes/database.inc Adds a primary key to a database table. 2
db_drop_primary_key drupal/core/includes/database.inc Drops the primary key of a database table. 6
db_add_unique_key drupal/core/includes/database.inc Adds a unique key.
db_drop_unique_key drupal/core/includes/database.inc Drops a unique key. 1
db_add_index drupal/core/includes/database.inc Adds an index. 4
db_drop_index drupal/core/includes/database.inc Drops an index. 9
db_change_field drupal/core/includes/database.inc Changes a field definition. 21
db_ignore_slave drupal/core/includes/database.inc Sets a session variable specifying the lag time for ignoring a slave server. 3
hook_entity_info drupal/core/includes/entity.api.php Add to entity type definitions.
hook_entity_info_alter drupal/core/includes/entity.api.php Alter the entity type definitions.
hook_entity_load drupal/core/includes/entity.api.php Act on entities when loaded.
hook_entity_presave drupal/core/includes/entity.api.php Act on an entity before it is about to be created or updated.
hook_entity_insert drupal/core/includes/entity.api.php Act on entities when inserted.
hook_entity_update drupal/core/includes/entity.api.php Act on entities when updated.
hook_entity_predelete drupal/core/includes/entity.api.php Act before entity deletion.
hook_entity_delete drupal/core/includes/entity.api.php Respond to entity deletion.
hook_entity_query_alter drupal/core/includes/entity.api.php Alter or execute an Drupal\Core\Entity\Query\EntityQueryInterface.
hook_entity_view drupal/core/includes/entity.api.php Act on entities being assembled before rendering.
hook_entity_view_alter drupal/core/includes/entity.api.php Alter the results of ENTITY_view().
hook_entity_prepare_view drupal/core/includes/entity.api.php Act on entities as they are being prepared for view.
hook_entity_view_mode_alter drupal/core/includes/entity.api.php Change the view mode of an entity that is being displayed.
hook_entity_field_info drupal/core/includes/entity.api.php Define custom entity properties.
hook_entity_field_info_alter drupal/core/includes/entity.api.php Alter defined entity properties.
entity_get_info drupal/core/includes/entity.inc Gets the entity definition for an entity type. 69 1
entity_info_cache_clear drupal/core/includes/entity.inc Resets the cached information about entity types. 8
entity_get_bundles drupal/core/includes/entity.inc Returns the defined bundles for the given entity type. 2
entity_load drupal/core/includes/entity.inc Loads an entity from the database. 55
entity_revision_load drupal/core/includes/entity.inc Loads an entity from the database. 3
entity_revision_delete drupal/core/includes/entity.inc Deletes an entity revision. 1
entity_load_by_uuid drupal/core/includes/entity.inc Loads an entity by UUID. 1
entity_load_multiple drupal/core/includes/entity.inc Loads multiple entities from the database. 30
entity_load_multiple_by_properties drupal/core/includes/entity.inc Load entities by their property values. 36

Pages

Other projects