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

Members who can merge are allowed to add commits.

Merge request pipeline #112764 passed

Merge request pipeline passed for afb63cd3

Code Quality is loading
Test summary results are being parsed
Ready to merge by members who can write to the target branch.
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',
  • David Galeano added 1 commit

    added 1 commit

    Compare with previous version

  • David Galeano added 1 commit

    added 1 commit

    Compare with previous version

  • Please register or sign in to reply
    Loading