public function Permissions::__construct in Entity Browser 8
Same name and namespace in other branches
- 8.2 src/Permissions.php \Drupal\entity_browser\Permissions::__construct()
Constructs Permissions object.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: Entity manager service.
File
- src/
Permissions.php, line 30
Class
- Permissions
- Generates routes for entity browsers.
Namespace
Drupal\entity_browserCode
public function __construct(EntityTypeManagerInterface $entity_type_manager) {
$this->browserStorage = $entity_type_manager
->getStorage('entity_browser');
}