services:
    Claroline\LinkBundle\Listener\Resource\ResourceListener:
        arguments:
            - '@Claroline\AppBundle\Persistence\ObjectManager'
            - '@Claroline\AppBundle\API\Crud'
        tags:
            - { name: kernel.event_listener, event: crud.post.delete.resource_node, method: delete }

    Claroline\LinkBundle\Listener\Resource\Types\ShortcutListener:
        arguments:
            - '@Claroline\AppBundle\API\SerializerProvider'
        tags:
            - { name: kernel.event_listener, event: resource.shortcut.load, method: load }
