Activate plugin from custom admin menu

I am seeking for an option to activate the plugins from admin menu . This is not a avada theme question but i have seen they used this technique. How does this actually works? Is it some thing easy to do? I not asking for complete code but references or methods to achieve this will help a lot.

enter image description here