1 views.module | views_move_table($table) |
Find the real location of a table.
If a table has moved, find the new name of the table so that we can change its name directly in options where necessary.
File
- core/
modules/ views/ views.module, line 1502 - Primarily Backdrop hooks and global API functions to manipulate views.
Code
function views_move_table($table) {
$data = views_fetch_data($table, FALSE);
if (isset($data['moved to'])) {
$table = $data['moved to'];
}
return $table;
}