public function DrupalKernel::getServiceProviders in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/DrupalKernel.php \Drupal\Core\DrupalKernel::getServiceProviders()
Returns all registered service providers.
Parameters
string $origin: The origin for which to return service providers; one of 'app' or 'site'.
Return value
array An associative array of ServiceProvider objects, keyed by name.
Overrides DrupalKernelInterface::getServiceProviders
File
- core/
lib/ Drupal/ Core/ DrupalKernel.php, line 600 - Contains \Drupal\Core\DrupalKernel.
Class
- DrupalKernel
- The DrupalKernel class is the core of Drupal itself.
Namespace
Drupal\CoreCode
public function getServiceProviders($origin) {
return $this->serviceProviders[$origin];
}