mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-11-14 09:14:14 +00:00
0d997c9479
These changes make to possible to run: tutor mounts add /path/to/my-xblock The xblock directory with then be auto-magically bind-mounted in the "openedx" image at build time, and the lms*/cms* containers at run time. This makes it effectively possible to work as a developer on edx-platform requirements. We take the opportunity to move some openedx-specific code to a dedicated module. Close https://github.com/openedx/wg-developer-experience/issues/177
25 lines
633 B
ReStructuredText
25 lines
633 B
ReStructuredText
.. _hooks_catalog:
|
|
|
|
=============
|
|
Hooks catalog
|
|
=============
|
|
|
|
Tutor can be extended by making use of "hooks". Hooks are either "actions" or "filters". Here, we list all instances of actions and filters that are used across Tutor. Plugin developers can leverage these hooks to modify the behaviour of Tutor.
|
|
|
|
The underlying Python hook classes and API are documented :ref:`here <hooks_api>`.
|
|
|
|
.. autoclass:: tutor.hooks.Actions
|
|
:members:
|
|
|
|
.. autoclass:: tutor.hooks.Filters
|
|
:members:
|
|
|
|
.. autoclass:: tutor.hooks.Contexts
|
|
:members:
|
|
|
|
Open edX hooks
|
|
--------------
|
|
|
|
.. automodule:: tutor.plugins.openedx.hooks
|
|
:members:
|