ComponentMetadata::$slots
Same name in this branch
- 10 core/modules/sdc/src/Component/ComponentMetadata.php \Drupal\sdc\Component\ComponentMetadata::slots
Same name in other branches
- 11.x core/modules/sdc/src/Component/ComponentMetadata.php \Drupal\sdc\Component\ComponentMetadata::slots
- 11.x core/lib/Drupal/Core/Theme/Component/ComponentMetadata.php \Drupal\Core\Theme\Component\ComponentMetadata::slots
Slot information.
Type: array
File
-
core/
lib/ Drupal/ Core/ Theme/ Component/ ComponentMetadata.php, line 92
Class
- ComponentMetadata
- Component metadata.
Namespace
Drupal\Core\Theme\ComponentCode
public readonly array $slots;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.