When using the ACL module in conjunction with this one I get the following error.

User error: Invalid placeholder (!op) in string: Grant !op access in Drupal\Component\Render\FormattableMarkup::placeholderFormat() (line 240 of core/lib/Drupal/Component/Render/FormattableMarkup.php).

Looking at the documentation it looks like the ! operator found here

Is not used in D8

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

geekygnr created an issue. See original summary.

geekygnr’s picture

acrosman’s picture

Status: Active » Needs review
LpSolit’s picture

Status: Needs review » Reviewed & tested by the community

Yes, correct.

LpSolit’s picture

Title: Invalid placeholder in translate funcntion » Invalid placeholder in translate function
Sutharsan’s picture

This is a no-brainer, let's get it in!

sunja’s picture

marked issue #2882691: Error in admin interface display as a duplicate of this issue.

ameymudras’s picture

mattjones86’s picture

Patch in #8 works a treat for me.

fago’s picture

Thanks, committed.

fago’s picture

Status: Reviewed & tested by the community » Fixed

  • fago committed 9bc7f73 on 8.x-1.x authored by ameymudras
    Issue #2753213 by geekygnr, ameymudras: Invalid placeholder in translate...

Status: Fixed » Closed (fixed)

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