function MediaRequirementsHooks::__construct
Same name and namespace in other branches
- 11.x core/modules/media/src/Hook/MediaRequirementsHooks.php \Drupal\media\Hook\MediaRequirementsHooks::__construct()
File
-
core/
modules/ media/ src/ Hook/ MediaRequirementsHooks.php, line 23
Class
- MediaRequirementsHooks
- Requirements checks for Media module.
Namespace
Drupal\media\HookCode
public function __construct(protected readonly AccountInterface $currentUser, protected readonly ModuleHandlerInterface $moduleHandler, protected readonly EntityDisplayRepositoryInterface $entityDisplayRepository) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.