You are here

autoload_test_entity.install in Autoload 7

Same filename and directory in other branches
  1. 7.2 tests/autoload_test_entity/autoload_test_entity.install

Module installation and updates.

File

tests/autoload_test_entity/autoload_test_entity.install
View source
<?php

/**
 * @file
 * Module installation and updates.
 */

/**
 * Implements hook_schema().
 */
function autoload_test_entity_schema() {
  $schema = array();
  $schema['autoload_test_entity'] = array(
    'description' => 'Autoload Test Entity',
    'fields' => array(
      'id' => array(
        'type' => 'serial',
        'unsigned' => TRUE,
        'not null' => TRUE,
        'description' => 'The primary identifier.',
      ),
    ),
    'primary key' => array(
      'id',
    ),
  );
  return $schema;
}

Functions

Namesort descending Description
autoload_test_entity_schema Implements hook_schema().