diff --git a/core/modules/views/src/Plugin/views/relationship/GroupwiseMax.php b/core/modules/views/src/Plugin/views/relationship/GroupwiseMax.php
index 7a85bbc..7fe32c3 100644
--- a/core/modules/views/src/Plugin/views/relationship/GroupwiseMax.php
+++ b/core/modules/views/src/Plugin/views/relationship/GroupwiseMax.php
@@ -126,14 +126,14 @@ public function buildOptionsForm(&$form, &$form_state) {
       // Only get views that are suitable:
       // - base must the base that our relationship joins towards
       // - must have fields.
-      if ($view->base_table == $this->definition['base'] && !empty($view->display['default']['display_options']['fields'])) {
+      if ($view->get('base_table') == $this->definition['base'] && !empty($view->getDisplay('default')['display_options']['fields'])) {
         // TODO: check the field is the correct sort?
         // or let users hang themselves at this stage and check later?
-        if ($view->type == 'Default') {
-          $views[t('Default Views')][$view->storage->id()] = $view->storage->id();
+        if ($view->get('tag') == 'default') {
+          $views[t('Default Views')][$view->id()] = $view->id();
         }
         else {
-          $views[t('Existing Views')][$view->storage->id()] = $view->storage->id();
+          $views[t('Existing Views')][$view->id()] = $view->id();
         }
       }
     }
