DrupalBin
Submit Code
About
Recent Posts
Serializable closures
Closures in menu item arguments
dpr($content['field_headshot'])
Fix for Git push error
Проверка
Code
$item['title'] = $item['title'];
Loading specific field
expire give non-aliased paths
Fix for Code
more
User login
Log in using OpenID:
What is OpenID?
Username:
*
Password:
*
Log in using OpenID
Cancel OpenID login
Create new account
Request new password
Tags
CCK
drupal
fapi
jquery
menu
module
php
simpletest
taxonomy
test
theme
views
more tags
Home
hook_install
hook_install doesn't seem to work
May 18, 2009 - 4:00pm — Anonymous
<?php
/**
* Implemenation of hook_install()
*/
function
tnt_user_import_install
(
)
{
// Create tables.
drupal_install_schema
(
'tnt_user_import_schema'
)
;
}
/**
hook
hook_install
schema
Read more
Installing module tables
June 17, 2008 - 12:42pm — Anonymous
<?php
// $Id$
/**
* Make a database schema
*/
function
loginhistory_schema
(
)
{
$schema
=
array
(
)
;
$schema
[
'loginhistory'
]
=
array
(
'fields'
=
>
array
(
'uid'
=
>
array
(
hook_install
hook_schema
hook_uninstall
module installation
Read more