protected function schemaDefinition() { $schema = parent::schemaDefinition(); $schema['views_test_data']['fields']['description'] = array('description' => "A person's description", 'type' => 'text', 'not null' => FALSE, 'size' => 'big'); return $schema; }
/** * {@inheritdoc} */ public function schemaDefinition() { $schema = parent::schemaDefinition(); $schema['views_test_data']['fields']['destroyed'] = array('description' => "The destruction date of this record", 'type' => 'int', 'unsigned' => TRUE, 'not null' => FALSE, 'default' => 0); return $schema; }
/** * {@inheritdoc} */ protected function schemaDefinition() { $schema = parent::schemaDefinition(); $schema['views_test_data']['fields']['langcode'] = array('description' => 'The {language}.langcode of this beatle.', 'type' => 'varchar', 'length' => 12, 'default' => ''); return $schema; }
/** * {@inheritdoc} */ protected function schemaDefinition() { $schema = parent::schemaDefinition(); $schema['views_test_data']['fields']['status'] = array('description' => 'The status of this record', 'type' => 'varchar', 'length' => 255, 'not null' => TRUE, 'default' => ''); return $schema; }
/** * Allow {views_test_data}.job to be NULL. */ protected function schemaDefinition() { $schema = parent::schemaDefinition(); unset($schema['views_test_data']['fields']['job']['not null']); return $schema; }