ua_logger.install in User Agent Logger 7
Same filename and directory in other branches
Contains schema definition for the UA Logger module.
File
ua_logger.installView source
<?php
/**
* @file
* Contains schema definition for the UA Logger module.
*/
/**
* Implements hook_schema.
*/
function ua_logger_schema() {
$schema['ua_logger'] = array(
'description' => '...??',
'fields' => array(
'id' => array(
'type' => 'serial',
),
'xid' => array(
'type' => 'int',
'unsigned' => TRUE,
),
'type' => array(
'type' => 'varchar',
'length' => 16,
),
'ua' => array(
'type' => 'varchar',
'length' => 150,
),
),
'primary key' => array(
'id',
),
);
return $schema;
}
Functions
Name![]() |
Description |
---|---|
ua_logger_schema | Implements hook_schema. |