diff -ruN entityreference_original/entityreference.module entityreference/entityreference.module
--- entityreference_original/entityreference.module	2019-03-12 06:58:06.000000000 +1100
+++ entityreference/entityreference.module	2019-07-12 10:55:30.483029579 +1000
@@ -1171,6 +1171,15 @@
         'bypass_access' => FALSE,
       ),
     ),
+    'entityreference_path' => array(
+      'label' => t('URL as plain text'),
+      'description' => t('Display the URL of the referenced entities.'),
+      'field types' => array('entityreference'),
+      'settings' => array(
+        'alias' => TRUE,
+        'absolute' => FALSE
+      ),
+    ),
     'entityreference_entity_id' => array(
       'label' => t('Entity id'),
       'description' => t('Display the id of the referenced entities.'),
@@ -1214,6 +1223,19 @@
     );
   }
 
+  if ($display['type'] === 'entityreference_path') {
+    $element['alias'] = array(
+      '#type' => 'checkbox',
+      '#title' => t('Display the aliased path (if exists) instead of the system path'),
+      '#default_value' => $settings['alias'],
+    );
+    $element['absolute'] = array(
+      '#type' => 'checkbox',
+      '#title' => t('Display an absolute URL'),
+      '#default_value' => $settings['absolute'],
+    );
+  }
+
   if ($display['type'] == 'entityreference_entity_view') {
     $entity_info = entity_get_info($field_type_settings['entity_type']);
     $options = array('default' => t('Default'));
@@ -1383,6 +1405,21 @@
       }
       break;
 
+    case 'entityreference_path':
+      foreach ($items as $delta => $item) {
+        // If the link is to be displayed and the entity has a uri, display a link.
+        // Note the assignment ($url = ) here is intended to be an assignment.
+        if ($uri = entity_uri($field['settings']['target_type'], $item['entity'])) {
+          $options = array(
+            'absolute' => $settings['absolute'],
+            'alias' => !$settings['alias'],
+          );
+          $options += $uri['options'];
+          $result[$delta] = array('#markup' => url($uri['path'], $options));
+        }
+      }
+      break;
+
     case 'entityreference_entity_id':
       foreach ($items as $delta => $item) {
         // Skip an item that is not accessible.
