ModuleTestServiceProvider.php

Namespace

Drupal\module_test

File

core/modules/system/tests/modules/module_test/src/ModuleTestServiceProvider.php

View source
<?php

declare (strict_types=1);
namespace Drupal\module_test;

use Drupal\Core\DependencyInjection\ContainerBuilder;
use Drupal\Core\DependencyInjection\ServiceProviderInterface;

/**
 * Module test service provider.
 */
class ModuleTestServiceProvider implements ServiceProviderInterface {
    
    /**
     * {@inheritdoc}
     */
    public function register(ContainerBuilder $container) : void {
        $container->addCompilerPass(new ModuleTestCompilerPass());
    }

}

Classes

Title Deprecated Summary
ModuleTestServiceProvider Module test service provider.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.