Warning: This page has not been updated in over over a year and may be outdated or deprecated.
development:plugins:ajax_handlers
AJAX Handler Plugins
Starting with VuFind 5.0, the AjaxController was refactored so that it calls plugins for handling AJAX requests. If you need to expose data to an AJAX call, you can simply build a new plugin and add it to the appropriate plugin manager.
Key Plugin Details
Default Namespace: \VuFind\AjaxHandler
Base Class: \VuFind\AjaxHandler\AbstractBase
Service Locator Configuration Section in module.config.php: ['vufind']['plugin_managers']['ajaxhandler']
Service Manager Name for Service Locator: VuFind\AjaxHandler\PluginManager
See the General Plugin Information page for more details on VuFind plugins.
development/plugins/ajax_handlers.txt · Last modified: 2020/09/22 14:37 by demiankatz