LayoutBuilderContextTrait::$contextRepository
Same name in other branches
- 9 core/modules/layout_builder/src/Context/LayoutBuilderContextTrait.php \Drupal\layout_builder\Context\LayoutBuilderContextTrait::contextRepository
- 10 core/modules/layout_builder/src/Context/LayoutBuilderContextTrait.php \Drupal\layout_builder\Context\LayoutBuilderContextTrait::contextRepository
- 11.x core/modules/layout_builder/src/Context/LayoutBuilderContextTrait.php \Drupal\layout_builder\Context\LayoutBuilderContextTrait::contextRepository
The context repository.
Type: \Drupal\Core\Plugin\Context\ContextRepositoryInterface
File
-
core/
modules/ layout_builder/ src/ Context/ LayoutBuilderContextTrait.php, line 18
Class
- LayoutBuilderContextTrait
- Provides a wrapper around getting contexts from a section storage object.
Namespace
Drupal\layout_builder\ContextCode
protected $contextRepository;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.