diff --git a/core/modules/path/path.module b/core/modules/path/path.module
index 38cb57b..7a29b66 100644
--- a/core/modules/path/path.module
+++ b/core/modules/path/path.module
@@ -10,6 +10,7 @@
 use Drupal\Core\Field\BaseFieldDefinition;
 use Drupal\Core\Form\FormStateInterface;
 use Drupal\Core\Routing\RouteMatchInterface;
+use Drupal\Core\Entity\EntityFormInterface;
 
 /**
  * Implements hook_help().
@@ -38,43 +39,49 @@ function path_help($route_name, RouteMatchInterface $route_match) {
 }
 
 /**
- * Implements hook_form_BASE_FORM_ID_alter() for \Drupal\node\NodeForm.
+ * Implements hook_form_alter().
  */
-function path_form_node_form_alter(&$form, FormStateInterface $form_state) {
-  $node = $form_state->getFormObject()->getEntity();
-  $form['path_settings'] = [
-    '#type' => 'details',
-    '#title' => t('URL path settings'),
-    '#open' => !empty($form['path']['widget'][0]['alias']['#value']),
-    '#group' => 'advanced',
-    '#access' => !empty($form['path']['#access']) && $node->hasField('path') && $node->get('path')->access('edit'),
-    '#attributes' => [
-      'class' => ['path-form'],
-    ],
-    '#attached' => [
-      'library' => ['path/drupal.path'],
-    ],
-    '#weight' => 30,
-  ];
-  $form['path']['#group'] = 'path_settings';
-}
+function path_form_alter(&$form, FormStateInterface $form_state) {
+  if ($form_state->getFormObject() instanceof EntityFormInterface) {
+    $entity = $form_state->getFormObject()->getEntity();
+    $default_entity_types = array('taxonomy_term', 'node', 'user');
+    if (in_array($entity->getEntityTypeId(), $default_entity_types)) {
+      $form['path_settings'] = array(
+        '#type' => 'details',
+        '#title' => t('URL path settings'),
+        '#open' => !empty($form['path']['widget'][0]['alias']['#value']),
+        '#group' => 'advanced',
+        '#access' => !empty($form['path']['#access']) && $entity->hasField('path') && $entity->get('path')->access('edit'),
+        '#attributes' => array(
+          'class' => array('path-form'),
+        ),
+        '#attached' => array(
+          'library' => array('path/drupal.path'),
+        ),
+        '#weight' => 30,
+      );
+      $form['path']['#group'] = 'path_settings';
+    }
+  }
+ }
 
 /**
  * Implements hook_entity_base_field_info().
  */
 function path_entity_base_field_info(EntityTypeInterface $entity_type) {
-  if (in_array($entity_type->id(), ['taxonomy_term', 'node', 'media'], TRUE)) {
-    $fields['path'] = BaseFieldDefinition::create('path')
-      ->setLabel(t('URL alias'))
-      ->setTranslatable(TRUE)
-      ->setDisplayOptions('form', [
-        'type' => 'path',
-        'weight' => 30,
-      ])
-      ->setDisplayConfigurable('form', TRUE)
-      ->setComputed(TRUE);
+  $default_entity_types = array('taxonomy_term', 'node', 'user');
+  if (in_array($entity_type->id(), $default_entity_types)) {
+  $fields['path'] = BaseFieldDefinition::create('path')
+    ->setLabel(t('URL alias'))
+    ->setTranslatable(TRUE)
+    ->setDisplayOptions('form', [
+      'type' => 'path',
+      'weight' => 30,
+    ])
+    ->setDisplayConfigurable('form', TRUE)
+    ->setComputed(TRUE);
 
-    return $fields;
+  return $fields;
   }
 }
 
diff --git a/core/profiles/standard/config/install/core.entity_form_display.user.user.default.yml b/core/profiles/standard/config/install/core.entity_form_display.user.user.default.yml
index 6832229..6b2f808 100644
--- a/core/profiles/standard/config/install/core.entity_form_display.user.user.default.yml
+++ b/core/profiles/standard/config/install/core.entity_form_display.user.user.default.yml
@@ -7,6 +7,7 @@ dependencies:
   module:
     - image
     - user
+    - path
 id: user.user.default
 targetEntityType: user
 bundle: user
@@ -24,6 +25,12 @@ content:
   timezone:
     weight: 6
     region: content
+  path:
+    type: path
+    settings: {  }
+    third_party_settings: {  }
+    weight: 30
+    region: content
   user_picture:
     type: image_image
     settings:
