Implementing Installation and Uninstallation Functions

Muhammad Umer Farooq Posted in Component Development 1 year ago

Is there a method for creating a function that only executes during the installation of a component, and another function that executes during uninstallation, similar to the functionality available in WordPress?

Replies
pk Muhammad Umer Farooq Replied 1 year ago

Thank

Indonesian Arsalan Shah Replied 1 year ago

Create a file called enable.php and delete.php in your component root directory. example components/Name/enable.php