When running drush ds-build "Layout name" the folder is properly created but when you move it under themefolder/ds_layouts/ nothing happens.

Comments

rafaelferreir4 created an issue. See original summary.

swentel’s picture

Hmm, yeah, that function still creates templates in a very old way. Layouts need to be registered now so the layout_plugin module can discover it, we'll have to refactor that part.

aspilicious’s picture

Title: Custom layout not being applied » Drush ds-build is broken
rominronin’s picture

Any update on this? How should this be tackled?

aspilicious’s picture

It is complicaties because there is an overlap with layout module these days.

Anyone can start fixing it and I'll review, once I have more time I can look at it again myself.

swentel’s picture

There's also #2619272: DrupalConsole Integration to generate layouts and #2612066: Fix drush integration - we should just remove this from our code base.

swentel’s picture

Version: 8.x-2.x-dev » 8.x-4.x-dev

  • swentel committed c8db6ed on 8.x-4.x
    Issue #2550817: Drush ds-build is broken - remove it
    
swentel’s picture

Status: Active » Fixed

Removed for D9

Status: Fixed » Closed (fixed)

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