The error code value is not available in the themes preprocess hook.
It should be so developers can access this value and alter the variables when needed.

CommentFileSizeAuthor
#2 customerror--code-variable-3266244-2.patch833 bytesloze

Comments

loze created an issue. See original summary.

loze’s picture

StatusFileSize
new833 bytes

Here's a patch that adds a variable to the theme function

loze’s picture

Status: Active » Needs review
mlncn’s picture

Status: Needs review » Reviewed & tested by the community

Looks great, thank you!

mlncn’s picture

Status: Reviewed & tested by the community » Fixed

  • mlncn committed 495281e on 8.x-1.x authored by loze
    Issue #3266244 by loze, mlncn: Error code is not available in the...

Status: Fixed » Closed (fixed)

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