public function LanguageAccessPermissions::__construct in Language access 8
Constructs a new LanguageAccessPermissions instance.
Parameters
\Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager.
File
- src/
LanguageAccessPermissions.php, line 28
Class
- LanguageAccessPermissions
- Provides language module permissions.
Namespace
Drupal\language_accessCode
public function __construct(LanguageManagerInterface $language_manager) {
$this->languageManager = $language_manager;
}