-/**
- * Implements hook_entity_base_field_info_alter().
- */
-function pathauto_entity_base_field_info_alter(&$fields, EntityTypeInterface $entity_type) {
- if (isset($fields['path'])) {
- // Path fields need to be computed so that the pathauto state can be
- // accessed even if there is no alias being set.
- $fields['path']->setComputed(TRUE);
- }
-}
-