You are here

function language_hierarchy_schema_alter in Language Hierarchy 7

Implements hook_schema_alter().

File

./language_hierarchy.install, line 6

Code

function language_hierarchy_schema_alter(&$schema) {
  $schema['languages']['fields']['parent'] = array(
    'type' => 'varchar',
    'length' => 12,
    'not null' => TRUE,
    'default' => '',
    'description' => 'Code of parent language.',
  );
}