Using

$langcode = $entity->langcode->value;

is not allowed anymore.
Let's fix that.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

    Comments

    flocondetoile created an issue. See original summary.

    bharat.kelotra’s picture

    Status: Active » Needs review
    StatusFileSize
    new544 bytes

    Here is a patch for this issue.

    Status: Needs review » Needs work

    The last submitted patch, 2: languagecode-protected-property-3160655.patch, failed testing. View results

    spadxiii’s picture

    StatusFileSize
    new540 bytes

    Couldn't create an issue-fork, so added a patch file with the correct method call.

    spadxiii’s picture

    Status: Needs work » Needs review

    And as usual, forgetting to set to needs review :)

    • flocondetoile committed bf0deba on 8.x-1.x authored by SpadXIII
      Issue #3160655 by SpadXIII, flocondetoile: $langcode is now a protected...
    flocondetoile’s picture

    Status: Needs review » Fixed

    Thanks

    Status: Fixed » Closed (fixed)

    Automatically closed - issue fixed for 2 weeks with no activity.