public static Drupal::hasContainer()
Returns TRUE if the container has been initialized, FALSE otherwise.
Return value
bool
File
- core/lib/Drupal.php, line 139
- Contains \Drupal.
Class
- Drupal
- Static Service Container wrapper.
Code
1 2 3 | public static function hasContainer() { return static :: $container !== NULL; } |
Please login to continue.