Functions

Primary tabs

Name Locationsort descending Description Direct uses Strings
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. 4
db_drop_primary_key drupal/core/includes/database.inc Drops the primary key of a database table. 8
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. 5
db_drop_index drupal/core/includes/database.inc Drops an index. 12
db_change_field drupal/core/includes/database.inc Changes a field definition. 25
db_ignore_slave drupal/core/includes/database.inc Sets a session variable specifying the lag time for ignoring a slave server. 6
hook_entity_info drupal/core/includes/entity.api.php Add to entity type definitions.
hook_entity_view_mode_info_alter drupal/core/includes/entity.api.php Alter the view modes for entity types.
hook_entity_bundle_info drupal/core/includes/entity.api.php Describe the bundles for entity types.
hook_entity_bundle_info_alter drupal/core/includes/entity.api.php Alter the bundles for entity types.
hook_entity_bundle_create drupal/core/includes/entity.api.php Act on entity_bundle_create().
hook_entity_bundle_rename drupal/core/includes/entity.api.php Act on entity_bundle_rename().
hook_entity_bundle_delete drupal/core/includes/entity.api.php Act on entity_bundle_delete().
hook_entity_info_alter drupal/core/includes/entity.api.php Alter the entity type definitions.
hook_entity_create drupal/core/includes/entity.api.php Act on a newly created entity.
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_display_alter drupal/core/includes/entity.api.php Alters the settings used for displaying an entity.
hook_entity_form_display_alter drupal/core/includes/entity.api.php Alters the settings used for displaying an entity form.
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.
hook_entity_operation_alter drupal/core/includes/entity.api.php Alter entity operations.
hook_entity_field_access drupal/core/includes/entity.api.php Control access to fields.
hook_entity_field_access_alter drupal/core/includes/entity.api.php Alters the default access behaviour for a given field.
entity_get_info Deprecated drupal/core/includes/entity.inc Gets the entity definition for an entity type. 73
entity_info_cache_clear drupal/core/includes/entity.inc Resets the cached information about entity types. 13
entity_get_bundles drupal/core/includes/entity.inc Returns the entity bundle info. 30 1
entity_invoke_bundle_hook drupal/core/includes/entity.inc Notifies modules about an operation that was performed on a entity bundle. 18
entity_get_view_modes drupal/core/includes/entity.inc Returns the entity view mode info. 15 1
entity_load drupal/core/includes/entity.inc Loads an entity from the database. 173
entity_revision_load drupal/core/includes/entity.inc Loads an entity from the database. 5
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. 5
entity_load_multiple drupal/core/includes/entity.inc Loads multiple entities from the database. 71
entity_load_multiple_by_properties drupal/core/includes/entity.inc Load entities by their property values. 59
entity_load_unchanged drupal/core/includes/entity.inc Loads the unchanged, i.e. not modified, entity from the database. 4
entity_delete_multiple drupal/core/includes/entity.inc Deletes multiple entities permanently. 20

Pages

Other projects