10 string references to context.repository
- BlockAccessControlHandler::createInstance in core/
modules/ block/ src/ BlockAccessControlHandler.php - BlockForm::create in core/
modules/ block/ src/ BlockForm.php - BlockLibraryController::create in core/
modules/ block/ src/ Controller/ BlockLibraryController.php - ConfigureBlockFormBase::create in core/
modules/ layout_builder/ src/ Form/ ConfigureBlockFormBase.php - ContextProvidersPass::process in core/
lib/ Drupal/ Core/ DependencyInjection/ Compiler/ ContextProvidersPass.php - Passes the service IDs of all context providers to the context repository.
- CurrentUserContextTest::testGetAvailableContexts in core/
modules/ user/ tests/ src/ Kernel/ ContextProvider/ CurrentUserContextTest.php - @covers ::getAvailableContexts
- LayoutBuilderContextTrait::contextRepository in core/
modules/ layout_builder/ src/ Context/ LayoutBuilderContextTrait.php - Gets the context repository service.
- LayoutBuilderEntityViewDisplay::contextRepository in core/
modules/ layout_builder/ src/ Entity/ LayoutBuilderEntityViewDisplay.php - Wraps the context repository service.
- SectionRenderTest::setUp in core/
modules/ layout_builder/ tests/ src/ Unit/ SectionRenderTest.php - TermContextTest::testGetAvailableContexts in core/
modules/ taxonomy/ tests/ src/ Kernel/ ContextProvider/ TermContextTest.php - @covers ::getAvailableContexts
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.