1 --- draggableviews.module (revision 76d7ca84425218e1e9f60633767bcbb5024a3d8c)
2 +++ draggableviews.module (revision )
4 'left_table' => $base_table,
5 'left_field' => $entity_keys['id'],
6 'field' => 'entity_id',
8 + array('field' => 'view_name', 'value' => '***VIEW_ID***'),
9 + array('field' => 'view_display', 'value' => '***VIEW_DISPLAY***'),
17 + * Implements hook_views_query_substitutions().
19 + * Allow replacement of current userid so we can cache these queries.
21 +function draggableviews_views_query_substitutions(\Drupal\views\ViewExecutable $view) {
22 + return array('***VIEW_ID***' => $view->id(), '***VIEW_DISPLAY***' => $view->current_display);
26 * Implements hook_preprocess_views_view_table().