hechoendrupal / drupal-console

The Drupal CLI. A tool to generate boilerplate code, interact with and debug Drupal.
http://drupalconsole.com
GNU General Public License v2.0
939 stars 559 forks source link

Layout Plugin Integration #1306

Open itsdarrylnorris opened 8 years ago

itsdarrylnorris commented 8 years ago

Problem/Motivation

Layout Plugin is the future of layouts in Drupal 8. Meaning that if you want to work with any type of layout module like Display Suite or Panels that are going to be using layout_plugins module as center API, so they can both take advantage of layouts without need it to re-invent the wheel in their own way. They are currently using Drush to generate this boilerplate code instead of DrupalConsole.

Solution

I think we should send a patch to layout_plugins in order to support this in the layout_plugins contrib project.

I have already open an issue for that in their project - https://www.drupal.org/node/2619272

fmann commented 8 years ago

I added a patch for layout_plugin that adds a generate:plugin:layout command to https://www.drupal.org/node/2619272. Please give it a try.

damienmckenna commented 7 years ago

Given that layouts are going into core in 8.3, it might be worth pulling this into DrupalConsole.

jmolivas commented 7 years ago

@damienmckenna or push DrupalConsole into core ... wait ... that ain't going to happen, lets better move those commands to DrupalConsole cc: @fmann