Hook for both shop and admin
-
- Lead Developer
- Posts: 2637
- Joined: Tue Nov 05, 2019 6:02 pm
- Has thanked: 4 times
- Been thanked: 181 times
Re: Hook for both shop and admin
You might be able to simplify it a bit by having one file alias the other. E.g. would duplicate all the listeners in the shop class into the admin class. But it would still take two files.
Code: Select all
class hook_admin_siteWide_whatever extends hook_shop_siteWide_whatever {
}