Skip to content

Commit

Permalink
Added back variable from merge conflict.
Browse files Browse the repository at this point in the history
  • Loading branch information
kepol committed Jan 31, 2024
1 parent 07999b2 commit 3f308c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Seed.php
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,7 @@ public static function seedNode(EntityInterface $entity, $langcode = NULL) {
$rid = $entity->get('vid')->value;

$url = Utility::getCanonicalUrl('node', $nid, $langcode);
$defaultLangcode = \Drupal::languageManager()->getDefaultLanguage()->getId();

// If this is the front/home page, rewrite URL as /.
$site_config = \Drupal::config('system.site');
Expand Down

0 comments on commit 3f308c8

Please sign in to comment.