1 view.inc | view::get_base_tables() |
Create a list of base tables eligible for this view. Used primarily for the UI. Display must be already initialized.
File
- core/
modules/ views/ includes/ view.inc, line 746 - Provides the view object type and associated methods.
Class
Code
function get_base_tables() {
$base_tables = array(
$this->base_table => TRUE,
'#global' => TRUE,
);
foreach ($this->display_handler->get_handlers('relationship') as $handler) {
$base_tables[$handler->definition['base']] = TRUE;
}
return $base_tables;
}