Skip to content
Snippets Groups Projects

Issue #3083690 by gxleano: Update trigger error message

Open Issue #3083690 by gxleano: Update trigger error message
1 unresolved thread
Open David Galeano requested to merge issue/drupal-3083690:3083690-key-is-an into 11.x
1 unresolved thread

Closes #3083690

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
95 95 // Only trigger an error if the value is not null.
96 96 // @see https://www.drupal.org/node/1283892
97 97 elseif (isset($value)) {
98 trigger_error(new FormattableMarkup('"@key" is an invalid render array key', ['@key' => $key]), E_USER_ERROR);
98 trigger_error(new FormattableMarkup(
99 'Expected an array but got a @type',
  • added 1 commit

    Compare with previous version

  • added 1 commit

    Compare with previous version

  • Please register or sign in to reply
    Loading