You are here

function ServiceFactory::extensionRegistrationService in X Autoload 7.4

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

Parameters

ServiceContainer $services:

Return value

DrupalExtensionAdapter

File

lib/DIC/ServiceFactory.php, line 60

Class

ServiceFactory

Namespace

Drupal\xautoload\DIC

Code

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