1.20.x 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

modules/views/views.module, line 1463
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;
}