Functions - 7.x - drupal

Primary tabs

Title Deprecated File name Summary Direct uses Strings
block_admin_display_form_submit modules/block/block.admin.inc Form submission handler for block_admin_display_form().
block_admin_display_prepare_blocks modules/block/block.admin.inc Prepares a list of blocks for display on the blocks administration page. 2
block_admin_paths modules/block/block.module Implements hook_admin_paths().
block_block_configure modules/block/block.module Implements hook_block_configure().
block_block_info modules/block/block.module Implements hook_block_info().
block_block_list_alter modules/block/block.module Implements hook_block_list_alter().
block_block_save modules/block/block.module Implements hook_block_save().
block_block_view modules/block/block.module Implements hook_block_view(). 1
block_custom_block_delete modules/block/block.admin.inc Form constructor for the custom block deletion form. 1
block_custom_block_delete_submit modules/block/block.admin.inc Form submission handler for block_custom_block_delete().
block_custom_block_form modules/block/block.module Form constructor for the custom block form. 1
block_custom_block_get modules/block/block.module Returns information from database about a user-created (custom) block. 2
block_custom_block_save modules/block/block.module Saves a user-created block in the database. 1
block_drupal_alter_foo_alter modules/simpletest/tests/common_test.module Implements hook_TYPE_alter() on behalf of block module.
block_flush_caches modules/block/block.module Implements hook_flush_caches(). 1
block_form_form_test_alter_form_alter modules/simpletest/tests/form_test.module Implements hook_form_FORM_ID_alter() on behalf of block.module.
block_form_system_performance_settings_alter modules/block/block.module Implements hook_form_FORM_ID_alter().
block_form_user_profile_form_alter modules/block/block.module Implements hook_form_FORM_ID_alter() for user_profile_form().
block_get_blocks_by_region modules/block/block.module Gets a renderable array of a region containing all enabled blocks. 1
block_help modules/block/block.module Implements hook_help().
block_install modules/block/block.install Implements hook_install().
block_list modules/block/block.module Returns all blocks in the specified region for the current user. 1 1
block_load modules/block/block.module Loads a block object from the database. 3
block_menu modules/block/block.module Implements hook_menu().
block_menu_delete modules/block/block.module Implements hook_menu_delete().
block_modules_uninstalled modules/block/block.module Implements hook_modules_uninstalled().
block_page_build modules/block/block.module Implements hook_page_build().
block_permission modules/block/block.module Implements hook_permission().
block_schema modules/block/block.install Implements hook_schema().
block_test_block_info modules/block/tests/block_test.module Implements hook_block_info().
block_test_block_info_alter modules/block/tests/block_test.module Implements hook_block_info_alter().
block_test_block_view modules/block/tests/block_test.module Implements hook_block_view().
block_test_block_view_block_test_test_hyphen_alter modules/block/tests/block_test.module Implements hook_block_view_MODULE_DELTA_alter().
block_test_block_view_block_test_test_underscore_alter modules/block/tests/block_test.module Implements hook_block_view_MODULE_DELTA_alter().
block_test_system_theme_info modules/block/tests/block_test.module Implements hook_system_theme_info().
block_theme modules/block/block.module Implements hook_theme().
block_themes_enabled modules/block/block.module Initializes blocks for enabled themes.
block_theme_initialize modules/block/block.module Assigns an initial, default set of blocks for a theme. 2
block_update_7000 modules/block/block.install Set system.weight to a low value for block module.
block_update_7002 modules/block/block.install Rename {blocks} table to {block}, {blocks_roles} to {block_role} and {boxes} to {block_custom}.
block_update_7003 modules/block/block.install Change the weight column to normal int.
block_update_7004 modules/block/block.install Add new blocks to new regions, migrate custom variables to blocks.
block_update_7005 modules/block/block.install Update the {block_custom}.format column.
block_update_7006 modules/block/block.install Recreates cache_block table.
block_update_7007 modules/block/block.install Change {block_custom}.format into varchar.
block_update_7008 modules/block/block.install Update database to match Drupal 7 schema.
block_update_7009 modules/block/block.install Increase {block}.title length to 255 characters.
block_update_dependencies modules/block/block.install Implements hook_update_dependencies().
block_user_presave modules/block/block.module Implements hook_user_presave().
block_user_role_delete modules/block/block.module Implements hook_user_role_delete().

Other projects


Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.