125 calls to Drupal::setContainer() in Zircon Profile 8
- AccessManagerTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Access/ AccessManagerTest.php - AccessResultTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Access/ AccessResultTest.php - AjaxRendererTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Controller/ AjaxRendererTest.php - BaseFieldDefinitionTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Entity/ BaseFieldDefinitionTest.php - BaseFieldDefinitionTestBase::setUp in core/
tests/ Drupal/ Tests/ Core/ Field/ BaseFieldDefinitionTestBase.php - BlockConfigEntityUnitTest::setUp in core/
modules/ block/ tests/ src/ Unit/ BlockConfigEntityUnitTest.php - BlockContentLocalTasksTest::setUp in core/
modules/ block_content/ tests/ src/ Unit/ Menu/ BlockContentLocalTasksTest.php - BlockLocalTasksTest::setUp in core/
modules/ block/ tests/ src/ Unit/ Menu/ BlockLocalTasksTest.php - BlockPageVariantTest::setUpDisplayVariant in core/
modules/ block/ tests/ src/ Unit/ Plugin/ DisplayVariant/ BlockPageVariantTest.php - Sets up a display variant plugin for testing.
- BreadcrumbManagerTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Breadcrumb/ BreadcrumbManagerTest.php - BubbleableMetadataTest::testAddCacheableDependency in core/
tests/ Drupal/ Tests/ Core/ Render/ BubbleableMetadataTest.php - @covers ::addCacheableDependency @dataProvider providerTestMerge
- BubbleableMetadataTest::testMerge in core/
tests/ Drupal/ Tests/ Core/ Render/ BubbleableMetadataTest.php - @covers ::merge @dataProvider providerTestMerge
- CacheableMetadataTest::testAddCacheableDependency in core/
tests/ Drupal/ Tests/ Core/ Cache/ CacheableMetadataTest.php - @covers ::addCacheableDependency @dataProvider providerTestMerge
- CacheableMetadataTest::testMerge in core/
tests/ Drupal/ Tests/ Core/ Cache/ CacheableMetadataTest.php - @covers ::merge @dataProvider providerTestMerge
- CollectRoutesTest::setUp in core/
modules/ rest/ tests/ src/ Unit/ CollectRoutesTest.php - CommentLockTest::testLocks in core/
modules/ comment/ tests/ src/ Unit/ Entity/ CommentLockTest.php - Test the lock behavior.
- ConfigEntityBaseUnitTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Config/ Entity/ ConfigEntityBaseUnitTest.php - ConfigEntityStorageTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Config/ Entity/ ConfigEntityStorageTest.php - @covers ::__construct
- ConfigFactoryTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Config/ ConfigFactoryTest.php - ConfigNamesMapperTest::setUp in core/
modules/ config_translation/ tests/ src/ Unit/ ConfigNamesMapperTest.php - ConfigTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Config/ ConfigTest.php - ConfirmFormHelperTest::testCancelLinkDestination in core/
tests/ Drupal/ Tests/ Core/ Form/ ConfirmFormHelperTest.php - @covers ::buildCancelLink
- ContainerDerivativeDiscoveryDecoratorTest::testGetDefinitions in core/
tests/ Drupal/ Tests/ Core/ Plugin/ Discovery/ ContainerDerivativeDiscoveryDecoratorTest.php - @covers ::getDefinitions
- ContentEntityBaseUnitTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Entity/ ContentEntityBaseUnitTest.php - ContentLanguageSettingsUnitTest::setUp in core/
modules/ language/ tests/ src/ Unit/ ContentLanguageSettingsUnitTest.php - ContentTranslationManageAccessCheckTest::setUp in core/
modules/ content_translation/ tests/ src/ Unit/ Access/ ContentTranslationManageAccessCheckTest.php - ContextTest::testSetContextValueCacheableDependency in core/
tests/ Drupal/ Tests/ Core/ Plugin/ Context/ ContextTest.php - @covers ::setContextValue
- ContextTypedDataTest::testGetContextValue in core/
tests/ Drupal/ Tests/ Core/ Plugin/ Context/ ContextTypedDataTest.php - Tests that getting a context value does not throw fatal errors.
- ControllerBaseTest::testGetConfig in core/
tests/ Drupal/ Tests/ Core/ Controller/ ControllerBaseTest.php - Tests the config method.
- DateHelperTest::testWeekDaysOrdered in core/
tests/ Drupal/ Tests/ Core/ Datetime/ DateHelperTest.php - @covers ::weekDaysOrdered @dataProvider providerTestWeekDaysOrdered
- DateTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Datetime/ DateTest.php - DefaultMenuLinkTreeManipulatorsTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Menu/ DefaultMenuLinkTreeManipulatorsTest.php - DefaultTableMappingTest::testGetFieldTableName in core/
tests/ Drupal/ Tests/ Core/ Entity/ Sql/ DefaultTableMappingTest.php - Tests DefaultTableMapping::getFieldTableName().
- DependencySerializationTest::testSerialization in core/
tests/ Drupal/ Tests/ Core/ DependencyInjection/ DependencySerializationTest.php - @covers ::__sleep @covers ::__wakeup
- DrupalKernel::initializeContainer in core/
lib/ Drupal/ Core/ DrupalKernel.php - Initializes the service container.
- DrupalKernelTest::prepareConfigDirectories in core/
modules/ system/ src/ Tests/ DrupalKernel/ DrupalKernelTest.php - Create and set new configuration directories.
- DrupalTest::setMockContainerService in core/
tests/ Drupal/ Tests/ Core/ DrupalTest.php - Sets up a mock expectation for the container get() method.
- DrupalTest::testSetContainer in core/
tests/ Drupal/ Tests/ Core/ DrupalTest.php - Tests the get/setContainer() method.
- EditEntityFieldAccessCheckTest::setUp in core/
modules/ quickedit/ tests/ src/ Unit/ Access/ EditEntityFieldAccessCheckTest.php - EditorConfigEntityUnitTest::setUp in core/
modules/ editor/ tests/ src/ Unit/ EditorConfigEntityUnitTest.php - EntityAccessCheckTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityAccessCheckTest.php - EntityAdapterUnitTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Entity/ TypedData/ EntityAdapterUnitTest.php - EntityCreateAccessCheckTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityCreateAccessCheckTest.php - EntityDisplayModeBaseUnitTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Config/ Entity/ EntityDisplayModeBaseUnitTest.php - EntityFieldManagerTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityFieldManagerTest.php - EntityLinkTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityLinkTest.php - EntityListBuilderTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityListBuilderTest.php - EntityTest::setUp in core/
modules/ views/ tests/ src/ Unit/ Plugin/ area/ EntityTest.php - EntityTypeBundleInfoTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityTypeBundleInfoTest.php - EntityTypeManagerTest::testGetFormObject in core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityTypeManagerTest.php - Tests the getFormObject() method.
- EntityUnitTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityUnitTest.php - EntityUnitTest::testCacheContexts in core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityUnitTest.php - @covers ::getCacheContexts @covers ::addCacheContexts
- EntityUrlTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityUrlTest.php - EntityViewsDataTest::setUp in core/
modules/ views/ tests/ src/ Unit/ EntityViewsDataTest.php - FieldConfigEntityUnitTest::setUp in core/
modules/ field/ tests/ src/ Unit/ FieldConfigEntityUnitTest.php - FieldItemListTest::testEquals in core/
tests/ Drupal/ Tests/ Core/ Field/ FieldItemListTest.php - @covers ::equals
- FieldItemListTest::testEqualsEmptyItems in core/
tests/ Drupal/ Tests/ Core/ Field/ FieldItemListTest.php - @covers ::equals
- FieldPluginBaseTest::setUp in core/
modules/ views/ tests/ src/ Unit/ Plugin/ field/ FieldPluginBaseTest.php - FieldStorageConfigEntityUnitTest::setUp in core/
modules/ field/ tests/ src/ Unit/ FieldStorageConfigEntityUnitTest.php - FieldTest::setUp in core/
modules/ views/ tests/ src/ Unit/ Plugin/ field/ FieldTest.php - FieldUiTest::setUp in core/
modules/ field_ui/ tests/ src/ Unit/ FieldUiTest.php - FormAjaxSubscriberTest::testOnExceptionBrokenPostRequest in core/
tests/ Drupal/ Tests/ Core/ Form/ EventSubscriber/ FormAjaxSubscriberTest.php - @covers ::onException
- FormBuilderTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Form/ FormBuilderTest.php - FormBuilderTest::testFormTokenCacheability in core/
tests/ Drupal/ Tests/ Core/ Form/ FormBuilderTest.php - @covers ::prepareForm
- FormBuilderTest::testGetFormIdWithInjectedClassName in core/
tests/ Drupal/ Tests/ Core/ Form/ FormBuilderTest.php - Tests the getFormId() method with an injected class name form ID.
- FormSubmitterTest::testRedirectWithoutResult in core/
tests/ Drupal/ Tests/ Core/ Form/ FormSubmitterTest.php - Tests the redirectForm() method when no redirect is expected.
- FormSubmitterTest::testRedirectWithUrl in core/
tests/ Drupal/ Tests/ Core/ Form/ FormSubmitterTest.php - Tests redirectForm() when a redirect is a Url object.
- ForumBreadcrumbBuilderBaseTest::setUp in core/
modules/ forum/ tests/ src/ Unit/ Breadcrumb/ ForumBreadcrumbBuilderBaseTest.php - ForumListingBreadcrumbBuilderTest::setUp in core/
modules/ forum/ tests/ src/ Unit/ Breadcrumb/ ForumListingBreadcrumbBuilderTest.php - ForumNodeBreadcrumbBuilderTest::setUp in core/
modules/ forum/ tests/ src/ Unit/ Breadcrumb/ ForumNodeBreadcrumbBuilderTest.php - InstallerTestBase::setUp in core/
modules/ simpletest/ src/ InstallerTestBase.php - Sets up a Drupal site for running functional and integration tests.
- install_begin_request in core/
includes/ install.core.inc - Begins an installation request, modifying the installation state as needed.
- KeyValueEntityStorageTest::setUpKeyValueEntityStorage in core/
tests/ Drupal/ Tests/ Core/ Entity/ KeyValueStore/ KeyValueEntityStorageTest.php - Prepares the key value entity storage.
- LanguageConfigOverrideTest::setUp in core/
modules/ language/ tests/ src/ Unit/ Config/ LanguageConfigOverrideTest.php - LanguageNegotiationUrlTest::setUp in core/
modules/ language/ tests/ src/ Unit/ LanguageNegotiationUrlTest.php - LanguageUnitTest::testIsDefault in core/
tests/ Drupal/ Tests/ Core/ Language/ LanguageUnitTest.php - @covers ::isDefault
- LinkGeneratorTest::testGenerateUrlWithQuotes in core/
tests/ Drupal/ Tests/ Core/ Utility/ LinkGeneratorTest.php - Tests the generate() method with a url containing double quotes.
- ListNormalizerTest::setUp in core/
modules/ serialization/ tests/ src/ Unit/ Normalizer/ ListNormalizerTest.php - LocaleLookupTest::setUp in core/
modules/ locale/ tests/ src/ Unit/ LocaleLookupTest.php - LocalTaskIntegrationTestBase::setUp in core/
tests/ Drupal/ Tests/ Core/ Menu/ LocalTaskIntegrationTestBase.php - LocalTaskManagerTest::setupNullCacheabilityMetadataValidation in core/
tests/ Drupal/ Tests/ Core/ Menu/ LocalTaskManagerTest.php - MenuActiveTrailTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Menu/ MenuActiveTrailTest.php - MenuLinkTreeTest::setUp in core/
modules/ system/ tests/ src/ Unit/ Menu/ MenuLinkTreeTest.php - MigrateSourceTest::testCount in core/
modules/ migrate/ tests/ src/ Unit/ MigrateSourceTest.php - Test that the source count is correct.
- MigrateTestCase::getDatabase in core/
modules/ migrate/ tests/ src/ Unit/ MigrateTestCase.php - Get an SQLite database connection object for use in tests.
- MonkeysInTheControlRoom::handle in core/
modules/ system/ tests/ modules/ error_service_test/ src/ MonkeysInTheControlRoom.php - Handles a Request to convert it to a Response.
- NodeBulkFormTest::tearDown in core/
modules/ node/ tests/ src/ Unit/ Plugin/ views/ field/ NodeBulkFormTest.php - NodeBulkFormTest::testConstructor in core/
modules/ node/ tests/ src/ Unit/ Plugin/ views/ field/ NodeBulkFormTest.php - Tests the constructor assignment of actions.
- PathBasedBreadcrumbBuilderTest::setUp in core/
modules/ system/ tests/ src/ Unit/ Breadcrumbs/ PathBasedBreadcrumbBuilderTest.php - @covers ::__construct
- PathPluginBaseTest::setupContainer in core/
modules/ views/ tests/ src/ Unit/ Plugin/ display/ PathPluginBaseTest.php - Setup access plugin manager and config factory in the Drupal class.
- PermissionAccessCheckTest::setUp in core/
modules/ user/ tests/ src/ Unit/ PermissionAccessCheckTest.php - RdfMappingConfigEntityUnitTest::setUp in core/
modules/ rdf/ tests/ src/ Unit/ RdfMappingConfigEntityUnitTest.php - RecursiveContextualValidatorTest::setUp in core/
tests/ Drupal/ Tests/ Core/ TypedData/ RecursiveContextualValidatorTest.php - RedirectResponseSubscriberTest::setUp in core/
tests/ Drupal/ Tests/ Core/ EventSubscriber/ RedirectResponseSubscriberTest.php - RenderElementTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Render/ Element/ RenderElementTest.php - RendererTestBase::setUp in core/
tests/ Drupal/ Tests/ Core/ Render/ RendererTestBase.php - ResponsiveImageStyleConfigEntityUnitTest::setUp in core/
modules/ responsive_image/ tests/ src/ Unit/ ResponsiveImageStyleConfigEntityUnitTest.php - RoleAccessCheckTest::testRoleAccess in core/
tests/ Drupal/ Tests/ Core/ Route/ RoleAccessCheckTest.php - Tests role requirements on routes.
- RolesRidTest::testTitleQuery in core/
modules/ user/ tests/ src/ Unit/ Views/ Argument/ RolesRidTest.php - Tests the titleQuery method.
- SimpletestPhpunitRunCommandTest::testSimpletestPhpUnitRunCommand in core/
modules/ simpletest/ tests/ src/ Unit/ SimpletestPhpunitRunCommandTest.php - SqlContentEntityStorageTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Entity/ Sql/ SqlContentEntityStorageTest.php - TestBase::restoreEnvironment in core/
modules/ simpletest/ src/ TestBase.php - Cleans up the test environment and restores the original environment.
- TokenTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Utility/ TokenTest.php - TranslationTest::testGet in core/
tests/ Drupal/ Tests/ Core/ Annotation/ TranslationTest.php - @covers ::get
- TrustedRedirectResponseTest::testSetTargetUrlWithUntrustedUrl in core/
tests/ Drupal/ Tests/ Core/ Routing/ TrustedRedirectResponseTest.php - @covers ::setTargetUrl @expectedException \InvalidArgumentException
- TwigEnvironmentTest::testInlineTemplate in core/
modules/ system/ src/ Tests/ Theme/ TwigEnvironmentTest.php - Tests inline templates.
- UnitTestCase::getContainerWithCacheTagsInvalidator in core/
tests/ Drupal/ Tests/ UnitTestCase.php - Sets up a container with a cache tags invalidator.
- UnroutedUrlTest::setUp in core/
tests/ Drupal/ Tests/ Core/ UnroutedUrlTest.php - UpdatePathTestBase::runDbTasks in core/
modules/ system/ src/ Tests/ Update/ UpdatePathTestBase.php - Runs the install database tasks for the driver used by the test runner.
- UpdateTestBase::setUp in core/
modules/ update/ src/ Tests/ UpdateTestBase.php - Sets up a Drupal site for running functional and integration tests.
- UrlGeneratorTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Routing/ UrlGeneratorTest.php - UrlRewritingTest::testRelativeFileURL in core/
modules/ system/ src/ Tests/ File/ UrlRewritingTest.php - Test file_url_transform_relative().
- UrlTest::setUp in core/
tests/ Drupal/ Tests/ Core/ UrlTest.php - UserAccessControlHandlerTest::setUp in core/
modules/ user/ tests/ src/ Unit/ UserAccessControlHandlerTest.php - UserBulkFormTest::tearDown in core/
modules/ user/ tests/ src/ Unit/ Plugin/ views/ field/ UserBulkFormTest.php - UserBulkFormTest::testConstructor in core/
modules/ user/ tests/ src/ Unit/ Plugin/ views/ field/ UserBulkFormTest.php - Tests the constructor assignment of actions.
- UserSessionTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Session/ UserSessionTest.php - ViewAjaxControllerTest::setUp in core/
modules/ views/ tests/ src/ Unit/ Controller/ ViewAjaxControllerTest.php - ViewExecutableTest::setUp in core/
modules/ views/ tests/ src/ Unit/ ViewExecutableTest.php - ViewListBuilderTest::testBuildRowEntityList in core/
modules/ views_ui/ tests/ src/ Unit/ ViewListBuilderTest.php - Tests the listing of displays on a views list builder.
- ViewsBlockTest::setUp in core/
modules/ views/ tests/ src/ Unit/ Plugin/ Block/ ViewsBlockTest.php - ViewsTest::setUp in core/
modules/ views/ tests/ src/ Unit/ ViewsTest.php - ViewUIObjectTest::testIsLocked in core/
modules/ views_ui/ tests/ src/ Unit/ ViewUIObjectTest.php - Tests the isLocked method.
- ViewUIObjectTest::testSerialization in core/
modules/ views_ui/ tests/ src/ Unit/ ViewUIObjectTest.php - Tests serialization of the ViewUI object.
- WebTestBase::getDatabaseTypes in core/
modules/ simpletest/ src/ WebTestBase.php - Returns all supported database driver installer objects.