You are here

public function AvailableUserRolesService::__construct in Multiple Registration 8

Same name and namespace in other branches
  1. 8.2 src/AvailableUserRolesService.php \Drupal\multiple_registration\AvailableUserRolesService::__construct()
  2. 3.x src/AvailableUserRolesService.php \Drupal\multiple_registration\AvailableUserRolesService::__construct()

AvailableUserRolesService constructor.

Parameters

\Drupal\Core\Entity\EntityTypeManager $entityTypeManager: EntityTypeManager Service.

\Drupal\Core\Config\ConfigFactoryInterface $configFactory: Config factory.

File

src/AvailableUserRolesService.php, line 32

Class

AvailableUserRolesService
Class AvailableUserRolesService.

Namespace

Drupal\multiple_registration

Code

public function __construct(EntityTypeManager $entityTypeManager, ConfigFactoryInterface $configFactory) {
  $this->entityTypeManager = $entityTypeManager;
  $this->configFactory = $configFactory;
}