Implementing Installation and Uninstallation Functions

Muhammad Umer Farooq Posted in Component Development 2 years 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 2 years ago

Thank

Indonesian Arsalan Shah Replied 2 years ago

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