function party_hat_exportable_schema_fields in Party 7
Same name and namespace in other branches
- 8.2 modules/party_hat/party_hat.install \party_hat_exportable_schema_fields()
Exportable schema fields.
1 call to party_hat_exportable_schema_fields()
- party_hat_schema in modules/
party_hat/ party_hat.install - Implements hook_schema().
File
- modules/
party_hat/ party_hat.install, line 70 - Contains install hooks for the party hat module..
Code
function party_hat_exportable_schema_fields() {
return array(
'status' => array(
'type' => 'int',
'not null' => TRUE,
// Set the default to ENTITY_CUSTOM without using the constant as it is
// not safe to use it at this point.
'default' => 0x1,
'size' => 'tiny',
'description' => 'The exportable status of the entity.',
),
'module' => array(
'description' => 'The name of the providing module if the entity has been defined in code.',
'type' => 'varchar',
'length' => 255,
'not null' => FALSE,
),
);
}