password_field.install in Password Field 7
password_field.install Defines a database column for encrypted passwords
File
password_field.installView source
<?php
/**
* @file
* password_field.install
* Defines a database column for encrypted passwords
*/
/**
* Create the Password Field database table.
*
* Implements hook_field_schema
*/
function password_field_field_schema($field) {
return array(
'columns' => array(
'password_field' => array(
'type' => 'text',
'not null' => FALSE,
'default' => NULL,
),
),
);
}
Functions
Name | Description |
---|---|
password_field_field_schema | Create the Password Field database table. |