drupal_install_schema($module)Creates all tables in a module's hook_schema() implementation.
Note: This function does not pass the module's schema through hook_schema_alter(). The module's tables will be created exactly as the module defines them.
$module The module for which the tables will be created.
includes/common.inc, line 5578
<?php
function drupal_install_schema($module) {
$schema = drupal_get_schema_unprocessed($module);
_drupal_schema_initialize($module, $schema);
foreach ($schema as $name => $table) {
db_create_table($name, $table);
}
}
?> | This work is licensed under a Creative Commons Attribution-Share Alike 3.0 Unported License | ![]() |
