ServiceContainerServiceProvider.php in Service Container 7.2
File
tests/modules/service_container_test_ctools/src/ServiceContainer/ServiceProvider/ServiceContainerServiceProvider.php
View source
<?php
namespace Drupal\service_container_test_ctools\ServiceContainer\ServiceProvider;
use Drupal\Component\Utility\NestedArray;
use Drupal\Core\KeyValueStore\KeyValueExpirableFactory;
use Drupal\service_container\DependencyInjection\ServiceProviderInterface;
class ServiceContainerServiceProvider implements ServiceProviderInterface {
public function getContainerDefinition() {
$services = array();
$parameters['ctools_plugins_auto_discovery.service_container_test_ctools'] = array(
'service_container_test_ctools',
);
return array(
'parameters' => $parameters,
'services' => $services,
);
}
public function alterContainerDefinition(&$container_definition) {
return;
}
}