Goal of this project is to create permission system using node reference field. In this scenario my nodes are products and users are printers. Site admin can assign printer to each product and printer can only see products that are referenced to him.
Using hook_node_access I can control the access, but there is a problem with Views where all products are displayed, despite of the limit.
I tried installing the Entity Print module using this command : composer require "drupal/entity_print 2.x" and now I have the following error :
Fatal error: Cannot redeclare config_get_config_directory() (previously declared in C:\xampp\htdocs\core\includes\bootstrap.inc:214) in C:\xampp\htdocs\web\core\includes\bootstrap.inc on line 214