public property Layout::$library in Layout Plugin (obsolete, use core's Layout Discovery) 8
The asset library.
If specified, it's assumed that the module or theme registering this layout will also register the library in its *.libraries.yml itself. This is mutually exclusive with 'css' - you can't specify both.
Type: string optional
File
- src/
Annotation/ Layout.php, line 117
Class
- Layout
- Defines a Layout annotation object.
Namespace
Drupal\layout_plugin\AnnotationCode
public $library;