protected static property Drupal::$container in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal.php \Drupal::container
The currently active container object, or NULL if not initialized yet.
Type: \Symfony\Component\DependencyInjection\ContainerInterface|null
File
- core/
lib/ Drupal.php, line 102 - Contains \Drupal.
Class
- Drupal
- Static Service Container wrapper.
Code
protected static $container;