Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 8.x
»
Drupal.php
»
Drupal
»
Drupal::getContainer
Search Drupal 8.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 8.x
Topics
Classes
Functions
Files
Namespaces
Services
Constants
Globals
Deprecated
6 calls to Drupal::getContainer()
Cache::getBins
in drupal/
core/
lib/
Drupal/
Core/
Cache/
Cache.php
Gets all cache bin services.
ContainerFactory::createInstance
in drupal/
core/
lib/
Drupal/
Core/
Plugin/
Factory/
ContainerFactory.php
Implements
Drupal\Component\Plugin\Factory\FactoryInterface::createInstance
().
drupal_container
in drupal/
core/
includes/
bootstrap.inc
Retrieves the Drupal Container to standardize object construction.
drupal_mkdir
in drupal/
core/
includes/
file.inc
Creates a directory, optionally creating missing components in the path to the directory.
st
in drupal/
core/
includes/
install.inc
Translates a string when some systems are not available.
WebTestBase::resetAll
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
WebTestBase.php
Reset all data structures after having enabled new modules.