Can someone explain the purpose of the class and type in layouts.yml file do?
I cant seem to find any documentation on these.
Example :
class: '\Drupal\ds\Plugin\DsLayout'
type: partial
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 2917488-3.patch | 4.43 KB | swentel |
Comments
Comment #2
swentel commentedSo class can be seen in the layout annotation (Drupal\Core\Layout\Annotation\Layout.php).
But .. funny enough .. type is probably a leftover which simply doesn't exist anymore .. so we can probably just remove it :)
(probably from either in experimental phase, or maybe from panels, not sure)
Comment #3
swentel commentedThat property was from the layout_plugin, but is not anymore in layout_discovery, so we can simply remove it.
Comment #5
swentel commentedcommited and pushed
Comment #6
swentel commented