drupal_install_schema

Related topics

Namesort iconDescription
Schema APIA Drupal schema definition is an array structure representing one or more tables and their related keys and indexes. A schema is defined by hook_schema(), which usually lives in a modulename.install file.

Functions that call drupal_install_schema()

Namesort iconLocationDescription
aggregator_installmodules/aggregator/aggregator.installImplementation of hook_install().
blogapi_installmodules/blogapi/blogapi.installImplementation of hook_install().
book_installmodules/book/book.installImplementation of hook_install().
contact_installmodules/contact/contact.installImplementation of hook_install().
dblog_installmodules/dblog/dblog.installImplementation of hook_install().
drupal_install_schemaincludes/common.incCreate all tables that a module defines in its hook_schema().
forum_installmodules/forum/forum.installImplementation of hook_install().
hook_installdeveloper/hooks/install.phpInstall the current version of the database schema, and any other setup tasks.
locale_installmodules/locale/locale.installImplementation of hook_install().
menu_installmodules/menu/menu.installImplementation of hook_install().
nodeapi_example_installdeveloper/examples/nodeapi_example.installImplementation of hook_install().
node_access_example_installdeveloper/examples/node_access_example.installImplementation of hook_install().
node_example_installdeveloper/examples/node_example.installImplementation of hook_install().
openid_installmodules/openid/openid.installImplementation of hook_install().
poll_installmodules/poll/poll.installImplementation of hook_install().
profile_installmodules/profile/profile.installImplementation of hook_install().
search_installmodules/search/search.installImplementation of hook_install().
statistics_installmodules/statistics/statistics.installImplementation of hook_install().
system_installmodules/system/system.installImplementation of hook_install().
trigger_installmodules/trigger/trigger.installImplementation of hook_install().
update_installmodules/update/update.installImplementation of hook_install().
upload_installmodules/upload/upload.installImplementation of hook_install().

Functions called by drupal_install_schema()

Namesort iconLocationDescription
db_create_tableincludes/database.incCreate a new table from a Drupal table definition.
drupal_get_schema_unprocessedincludes/common.incReturns the unprocessed and unaltered version of a module's schema.
drupal_install_schemaincludes/common.incCreate all tables that a module defines in its hook_schema().
_drupal_initialize_schemaincludes/common.incFill in required default values for table definitions returned by hook_schema().
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.