public function AvailableUserRolesService::__construct in Multiple Registration 3.x
Same name and namespace in other branches
- 8.2 src/AvailableUserRolesService.php \Drupal\multiple_registration\AvailableUserRolesService::__construct()
- 8 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_registrationCode
public function __construct(EntityTypeManagerInterface $entityTypeManager, ConfigFactoryInterface $configFactory) {
$this->entityTypeManager = $entityTypeManager;
$this->configFactory = $configFactory;
}