diff --git a/migrations/pm_page_variant.yml b/migrations/pm_page_variant.yml
index 3738c28..982acf6 100644
--- a/migrations/pm_page_variant.yml
+++ b/migrations/pm_page_variant.yml
@@ -36,7 +36,7 @@ process:
   'variant_settings/status_code': 'conf/code'
   'variant_settings/redirect_location': 'conf/destination'
   'variant_settings/uuid': '@uuid'
-  # Panels configurations
+  # Panels configurations.
   'variant_settings/id':
     -
       plugin: skip_on_empty
@@ -66,9 +66,7 @@ process:
         uuid:
           plugin: uuid_generate
           source: uuid
-        # TODO view mode lookup?
-        view_mode: build_mode
-        _label_override:
+        label/temp:
           -
             plugin: skip_on_empty
             method: process
@@ -79,7 +77,7 @@ process:
         label:
           plugin: null_coalesce
           source:
-            - '@_label_override'
+            - '@label/temp'
             - 'configuration/title'
           default_value: ''
         label_display:
@@ -102,8 +100,55 @@ process:
             - '@region/temp/mapped'
             - panel
         weight: position
+
         # @todo context mapping!
-        context_mapping: 'constants/pane_context_mapping'
+        context_mapping/entity/nid:
+          -
+            plugin: skip_on_empty
+            method: process
+            source: 'configuration/nid'
+          -
+            plugin: concat
+            source:
+              - type
+              - subtype
+              - 'configuration/nid'
+            delimiter: '_'
+        context_mapping/entity:
+          -
+            plugin: null_coalesce
+            source:
+              - '@context_mapping/entity/nid'
+              # - '@context_mapping/entity/uid'
+              # - '@context_mapping/entity/tid'
+              # - '@context_mapping/entity/cid'
+            default_value: 0
+          -
+            plugin: skip_on_empty
+            method: process
+
+        # Only for entity view plugin
+        view_mode:
+          -
+            plugin: explode
+            source: '@id'
+            delimiter: ':'
+          -
+            plugin: extract
+            index:
+              - 0
+          -
+            plugin: static_map
+            map:
+              entity_view: 1
+            default_value: 0
+          -
+            plugin: skip_on_empty
+            method: process
+          -
+            plugin: get
+            source: 'configuration/build_mode'
+
   'variant_settings/layout':
     -
       plugin: skip_on_empty
@@ -118,7 +163,17 @@ process:
     source: 'panels_display/layout_settings'
     method: process
   # @todo Find out which page title to use
-  # 'variant_settings/page_title': 'constants/page_title'
+  'variant_settings/page_title':
+    -
+      plugin: static_map
+      source: 'panels_display/hide_title'
+      map:
+        # @todo hide_title = 2 means that we should use the title of a pane.
+        1: 0
+      default_value: 1
+    -
+      plugin: get
+      source: 'panels_display/title'
   page_subtask:
     plugin: skip_on_empty
     method: process
@@ -140,7 +195,52 @@ process:
     plugin: pm_page_variant_selection_criteria
     source: 'conf/access/plugins'
   selection_logic: 'conf/access/logic'
-  static_context: 'constants/static_context'
+  static_context:
+    -
+      plugin: skip_on_empty
+      source: 'panels_panes'
+      method: process
+    -
+      plugin: sub_process
+      key: '@label'
+      process:
+        type/temp:
+          -
+            plugin: skip_on_empty
+            method: process
+            source: 'configuration/nid'
+          -
+            plugin: concat
+            source:
+              - type
+              - subtype
+              - 'configuration/nid'
+            delimiter: '_'
+        label:
+          plugin: null_coalesce
+          source:
+            - '@type/temp'
+          default_value: NULL
+        type:
+          plugin: static_map
+          source:
+            - type
+            - subtype
+          map:
+            node:
+              node: 'entity:node'
+          default_value: NULL
+        value:
+          -
+            plugin: migmag_lookup
+            source: 'configuration/nid'
+            migration:
+              - d7_node_complete
+              - d7_node
+          -
+            plugin: migmag_get_entity_property
+            entity_type_id: 'node'
+            property: 'uuid'
 destination:
   plugin: entity:page_variant
 migration_dependencies:
diff --git a/migrations/pm_panels_pane.yml b/migrations/pm_panels_pane.yml
index 109533e..1b2c756 100644
--- a/migrations/pm_panels_pane.yml
+++ b/migrations/pm_panels_pane.yml
@@ -47,6 +47,12 @@ process:
     map:
       block:
         user-login: user_login_block
+      node:
+        node: 'entity_view:node'
+      # user:
+      #   user: 'entity_view:user'
+      # taxonomy:
+      #   taxonomy: 'entity_view:taxonomy_term'
       page_primary_links:
         page_primary_links: 'system_menu_block:main'
       page_secondary_links:
diff --git a/tests/src/Kernel/PmMigrateTest.php b/tests/src/Kernel/PmMigrateTest.php
index dc536db..3e7e0fc 100644
--- a/tests/src/Kernel/PmMigrateTest.php
+++ b/tests/src/Kernel/PmMigrateTest.php
@@ -36,6 +36,7 @@ class PmMigrateTest extends PmMigrateWithoutPmTest {
       'block_content_body_field',
       'd7_user_role',
       'd7_menu',
+      'd7_node_complete',
     ]);
 
     $this->startCollectingMessages();
diff --git a/tests/src/Traits/PmMigrateAssertionTrait.php b/tests/src/Traits/PmMigrateAssertionTrait.php
index 2107728..896963f 100644
--- a/tests/src/Traits/PmMigrateAssertionTrait.php
+++ b/tests/src/Traits/PmMigrateAssertionTrait.php
@@ -2,6 +2,7 @@
 
 namespace Drupal\Tests\page_manager_migration\Traits;
 
+use Drupal\node\Entity\Node;
 use Drupal\page_manager\Entity\Page;
 use Drupal\page_manager\Entity\PageVariant;
 
@@ -107,16 +108,20 @@ trait PmMigrateAssertionTrait {
               'uuid' => 'f7702500-a46c-4823-a4ca-3e1833b30459',
             ],
             '8ea0fe88-c68b-4849-ae9f-2ba88f642e8e' => [
-              'id' => 'page_manager_migration:node:node:1:8',
+              'id' => 'entity_view:node',
               'label' => '',
               'label_display' => 'visible',
-              'provider' => 'core',
+              'provider' => 'ctools',
+              'view_mode' => 'full',
+              'context_mapping' => [
+                'entity' => 'node_node_2',
+              ],
               'region' => 'second',
               'weight' => 0,
               'uuid' => '8ea0fe88-c68b-4849-ae9f-2ba88f642e8e',
             ],
           ],
-          'page_title' => '',
+          'page_title' => 'Simple landing page',
           'layout' => 'layout_threecol_33_34_33',
           'layout_settings' => [],
           'storage_type' => 'page_manager',
@@ -126,7 +131,13 @@ trait PmMigrateAssertionTrait {
         'weight' => 0,
         'selection_criteria' => [],
         'selection_logic' => 'and',
-        'static_context' => [],
+        'static_context' => [
+          'node_node_2' => [
+            'label' => 'node_node_2',
+            'type' => 'entity:node',
+            'value' => Node::load(2)->uuid(),
+          ],
+        ],
       ],
       array_diff_key(
         PageVariant::load('page_simple_landing_page__panel_context_dabd57ca-648c-4561-be3a-1c6a379910a3')->toArray(),
