Skip to content

Commit

Permalink
Removed unnecessary logic check.
Browse files Browse the repository at this point in the history
  • Loading branch information
kepol committed Jan 31, 2024
1 parent 5235135 commit c489e45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Seed.php
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ public static function seedNode(EntityInterface $entity, $langcode = NULL) {
$url = "/";

// Handle default language prefix.
if ($langcode && $langcode == $defaultLangcode) {
if ($langcode == $defaultLangcode) {
// Tack on the prefix if it's set.
$negotiation = \Drupal::config('language.negotiation')->get('url');
$url .= $negotiation['prefixes'][$langcode] ?? '';
Expand Down

0 comments on commit c489e45

Please sign in to comment.