Wrong #format key for export_icon theme cause errors

Created on 16 August 2023, over 1 year ago
Updated 18 September 2024, 3 months ago

Problem/Motivation

The attach to icon causes the following php deprecation message:

Deprecated function: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in Drupal\Component\Utility\Html::escape()

Steps to reproduce

Add a attach to to a views display and render this display.

Proposed resolution

I might get something wrong about the module but I think the render array for the export_icon contains the property #type instead of the #format which is specified by views data export module: https://git.drupalcode.org/project/views_data_export/-/blob/8.x-1.x/view....

📌 Task
Status

Fixed

Version

1.0

Component

Code

Created by

🇩🇪Germany Harlor Berlin

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024