Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The function panels_export_display(), as used by features to build exports of panels doesn't produce Drupal standards compliant code because it adds an unnecessary double indent.
$output .= "$prefix " . '$display->panels[\''...
We should change "$prefix "
to just read $prefix
so that the exported code passes phpcs/coder.
Comments
Comment #1
jedihe CreditAttribution: jedihe commentedDuplicate of #2448825: Wrong indentation in Panels exports