animate_any.install in Animate Any 7
Same filename and directory in other branches
Install, update and uninstall functions for the animate any module.
File
animate_any.installView source
<?php
/**
* @file
* Install, update and uninstall functions for the animate any module.
*/
/**
* Implements hook_schema().
*/
function animate_any_schema() {
$schema['animate_any'] = array(
'description' => 'The base table for nodes.',
'fields' => array(
'aid' => array(
'description' => 'The primary identifier for a animate table.',
'type' => 'serial',
'unsigned' => TRUE,
'not null' => TRUE,
),
'parent' => array(
'description' => 'Parent class entry',
'type' => 'varchar',
'length' => 100,
'not null' => TRUE,
'default' => '',
),
'identifier' => array(
'description' => 'JSON data of identifier and animation',
'type' => 'text',
'not null' => TRUE,
),
),
'primary key' => array(
'aid',
),
);
return $schema;
}
Functions
Name | Description |
---|---|
animate_any_schema | Implements hook_schema(). |