You are here

function role_export_schema_alter in Role Export 6

Same name and namespace in other branches
  1. 7 role_export.install \role_export_schema_alter()

Implements hook_schema_alter().

File

./role_export.install, line 11
Install, Uninstall, Schema and Update functions for role_export

Code

function role_export_schema_alter(&$schema) {

  // Add machine_name field to the 'role' schema.
  $schema['role']['fields']['machine_name'] = array(
    'description' => 'The machine name assigned by the user during creation of the role.',
    'type' => 'varchar',
    'length' => 255,
    'not null' => TRUE,
    'default' => '',
  );
}