Gold/Docs/Anatomy of a Plugin
From Mahara Wiki
< User:Gold | DocsRevision as of 08:31, 19 May 2021 by Gold (Serious WIP. Will return to this after I get the Elasticsearch 7 class working.)
The barebones of a plugin. This is intended to become a developer reference.
How to get your plugin seen by the system
The Plugin will either live in the
htdocs directory, for a stand alone plugin, or the directory of the plugin that it extends.
The following conditions and methods need to be implemented by your Plugin.
- Your plugin needs to extend the
get_plugintype_name(): machine readable name for the type of Plugin. Allows for plugins to be extensible and grouped.
get_plugin_display_name(): Optional human readable name for your Plugin.