1 views_handler_field_bulk_form.test | protected ViewsHandlerFieldBulkFormTest::schemaDefinition() |
Overrides the schema definition of the views_test table to add nid.
Overrides ViewsSqlTest::schemaDefinition
File
- core/
modules/ views/ tests/ handlers/ views_handler_field_bulk_form.test, line 83 - Definition of ViewsHandlerFieldBulkFormTest.
Class
Code
protected function schemaDefinition() {
$schema = parent::schemaDefinition();
$schema['views_test']['fields']['nid'] = array(
'description' => "The nid of the related node",
'type' => 'int',
'unsigned' => TRUE,
'not null' => TRUE,
'default' => 0,
);
return $schema;
}