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

jedihe’s picture

Status: Active » Closed (duplicate)
Related issues: +#2448825: Wrong indentation in Panels exports