LMSouq
moodle-core Open

How to run some function during installation of a moodle block?

N.
N. F.
1 month ago
3 views
Problem Description
I am just wondering if there is any way to run some custom function when a block is being installed? I can see that there is after_installation() function used in a block, but there is no function declaration in the super class block_base.

AI-Generated Solution

Powered by LMSouq AI · GPT-4.1-mini

✓ Solution Ready
Analyzing problem and generating solution…
Was this solution helpful?
Back to Knowledge Base