animate_any.install in Animate Any 8
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_settings'] = [
'description' => 'The base table for nodes.',
'fields' => [
'aid' => [
'description' => 'The primary identifier for a animate table.',
'type' => 'serial',
'unsigned' => TRUE,
'not null' => TRUE,
],
'parent' => [
'description' => 'Parent class entry',
'type' => 'varchar',
'length' => 100,
'not null' => TRUE,
'default' => '',
],
'identifier' => [
'description' => 'JSON data of identifier and animation',
'type' => 'text',
'not null' => TRUE,
],
],
'primary key' => [
'aid',
],
];
return $schema;
}
Functions
Name | Description |
---|---|
animate_any_schema | Implements hook_schema(). |