You are here

function ServiceFactory::extensionRegistrationService in X Autoload 7.5

Same name and namespace in other branches
  1. 7.4 lib/DIC/ServiceFactory.php \Drupal\xautoload\DIC\ServiceFactory::extensionRegistrationService()

Parameters

ServiceContainer $services:

Return value

DrupalExtensionAdapter

File

src/DIC/ServiceFactory.php, line 70

Class

ServiceFactory

Namespace

Drupal\xautoload\DIC

Code

function extensionRegistrationService($services) {
  return new DrupalExtensionAdapter($services->system, $services->finder);
}