You are here

31 calls to Drupal::getContainer() in Zircon Profile 8

BrowserTestBase::resetAll in core/modules/simpletest/src/BrowserTestBase.php
Resets all data structures after having enabled new modules.
Cache::getBins in core/lib/Drupal/Core/Cache/Cache.php
Gets all cache bin services.
ConfigInstallTest::installModules in core/modules/config/src/Tests/ConfigInstallTest.php
Installs a module.
ConfigOtherModuleTest::installModule in core/modules/config/src/Tests/ConfigOtherModuleTest.php
Installs a module.
ConfigOtherModuleTest::uninstallModule in core/modules/config/src/Tests/ConfigOtherModuleTest.php
Uninstalls a module.
ContainerDerivativeDiscoveryDecorator::getDeriver in core/lib/Drupal/Core/Plugin/Discovery/ContainerDerivativeDiscoveryDecorator.php
Gets a deriver for a base plugin.
ContainerFactory::createInstance in core/lib/Drupal/Core/Plugin/Factory/ContainerFactory.php
Creates a pre-configured instance of a plugin.
ControllerBase::container in core/lib/Drupal/Core/Controller/ControllerBase.php
Returns the service container.
DependencySerializationTrait::__wakeup in core/lib/Drupal/Core/DependencyInjection/DependencySerializationTrait.php
DisplayPluginBase::elementPreRender in core/modules/views/src/Plugin/views/display/DisplayPluginBase.php
#pre_render callback for view display rendering.
DrupalTest::testGetContainerException in core/tests/Drupal/Tests/Core/DrupalTest.php
@covers ::getContainer
DrupalTest::testSetContainer in core/tests/Drupal/Tests/Core/DrupalTest.php
Tests the get/setContainer() method.
EntityUnitTestBase::refreshServices in core/modules/system/src/Tests/Entity/EntityUnitTestBase.php
Refresh services.
field_ui_local_tasks_alter in core/modules/field_ui/field_ui.module
Implements hook_local_tasks_alter().
FormatterPluginManager::createInstance in core/lib/Drupal/Core/Field/FormatterPluginManager.php
Creates a pre-configured instance of a plugin.
FormBase::container in core/lib/Drupal/Core/Form/FormBase.php
Returns the service container.
KernelTestBaseTest::setUp in core/modules/simpletest/src/Tests/KernelTestBaseTest.php
Performs setup tasks before each individual test method is run.
KernelTestBaseTest::testRegister in core/tests/Drupal/KernelTests/KernelTestBaseTest.php
@covers ::register
LocalTaskManagerTest::setupNullCacheabilityMetadataValidation in core/tests/Drupal/Tests/Core/Menu/LocalTaskManagerTest.php
MigratePluginManager::createInstance in core/modules/migrate/src/Plugin/MigratePluginManager.php
A specific createInstance method is necessary to pass the migration on.
NodeOwnerTest::testOwner in core/modules/node/src/Tests/NodeOwnerTest.php
Tests node owner functionality.
NodeTypeTest::testNodeTypeDeletion in core/modules/node/src/Tests/NodeTypeTest.php
Tests deleting a content type that still has content.
SimpletestResultsForm::submitForm in core/modules/simpletest/src/Form/SimpletestResultsForm.php
Form submission handler.
SimpleTestTest::setUp in core/modules/simpletest/src/Tests/SimpleTestTest.php
Sets up a Drupal site for running functional and integration tests.
TempStoreDatabaseTest::testUserTempStore in core/modules/user/src/Tests/TempStoreDatabaseTest.php
Tests the UserTempStore API.
TestBase::prepareEnvironment in core/modules/simpletest/src/TestBase.php
Prepares the current environment for running the test.
ToolbarCacheContextsTest::installExtraModules in core/modules/toolbar/src/Tests/ToolbarCacheContextsTest.php
Installs a given list of modules and rebuilds the cache.
UpdatePathTestBase::setUp in core/modules/system/src/Tests/Update/UpdatePathTestBase.php
Overrides WebTestBase::setUp() for update testing.
views_local_tasks_alter in core/modules/views/views.module
Implements hook_local_tasks_alter().
WebTestBase::resetAll in core/modules/simpletest/src/WebTestBase.php
Resets all data structures after having enabled new modules.
WidgetPluginManager::createInstance in core/lib/Drupal/Core/Field/WidgetPluginManager.php
Creates a pre-configured instance of a plugin.