/**
  * Affect the config
  * 
  * @param \oat\qtiItemPci\model\Config $config
  */
 public function init(Config $config)
 {
     $registry = new CreatorRegistry();
     //get registered PCI
     $hooks = $registry->getRegisteredImplementations();
     foreach ($hooks as $hook) {
         $config->addInteraction($hook);
     }
     //get PCI directly located in views/js/pciCreator/myCustomInteraction:
     $hooks = $registry->getDevImplementations();
     foreach ($hooks as $hook) {
         $config->addInteraction($hook);
     }
     //finally add the custom interaction manager "hook"
     $config->addHook('qtiItemPci/pciManager/hook');
 }