Layout::$library
Same name in other branches
- 9 core/lib/Drupal/Core/Layout/Annotation/Layout.php \Drupal\Core\Layout\Annotation\Layout::library
- 8.9.x core/lib/Drupal/Core/Layout/Annotation/Layout.php \Drupal\Core\Layout\Annotation\Layout::library
- 11.x core/lib/Drupal/Core/Layout/Annotation/Layout.php \Drupal\Core\Layout\Annotation\Layout::library
The asset library.
This property is optional and it does not need to be declared.
Type: string
File
-
core/
lib/ Drupal/ Core/ Layout/ Annotation/ Layout.php, line 115
Class
- Layout
- Defines a Layout annotation object.
Namespace
Drupal\Core\Layout\AnnotationCode
public $library;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.