acquia / df

Demo Framework - mirrored at https://git.drupal.org/project/df.git
https://www.drupal.org/project/df
18 stars 19 forks source link

Remove extra layouts from Layout Builder #130

Closed kevinfunk closed 5 years ago

kevinfunk commented 5 years ago

When adding a section in Layout Builder, we should only see layouts provided by df_tools_layout.

The following layouts should not be available in Layout Builder:

kevinfunk commented 5 years ago

Used hook_plugin_filter_TYPE__CONSUMER_alter() to unset extra layouts in df_tools_layout. See commit 1e8d8ba.