Open itsdarrylnorris opened 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.
Given that layouts are going into core in 8.3, it might be worth pulling this into DrupalConsole.
@damienmckenna or push DrupalConsole into core ... wait ... that ain't going to happen, lets better move those commands to DrupalConsole cc: @fmann
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