Retrieves the Drupal Container to standardize object construction.
Symfony\Component\DependencyInjection\ContainerInterface|bool The instance of the ContainerInterface used to set up and maintain object instances or FALSE if none exist yet.
This function has been replaced by the \Drupal class. Use that instead.
function drupal_container() {
return Drupal::getContainer();
}