public function MediaRevisionPermissions::__construct in Media Revisions UI 8
Same name and namespace in other branches
- 2.0.x src/MediaRevisionPermissions.php \Drupal\media_revisions_ui\MediaRevisionPermissions::__construct()
MediaPermissions constructor.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager service.
File
- src/
MediaRevisionPermissions.php, line 31
Class
- MediaRevisionPermissions
- Provides dynamic permissions for each media revision type.
Namespace
Drupal\media_revisions_uiCode
public function __construct(EntityTypeManagerInterface $entity_type_manager) {
$this->entityTypeManager = $entity_type_manager;
}