You are here

public function AvailableUserRolesService::__construct in Multiple Registration 8.2

Same name and namespace in other branches
  1. 8 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\EntityTypeManagerInterface $entityTypeManager: EntityTypeManager Service.

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

File

src/AvailableUserRolesService.php, line 38

Class

AvailableUserRolesService
Class AvailableUserRolesService.

Namespace

Drupal\multiple_registration

Code

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