localgovdrupal / localgov_subsites_extras

Create menu-driven subsites. Add any content to a subsite and generate a menu to navigate to it.
GNU General Public License v2.0
1 stars 0 forks source link

Add alter hook to allow other modules to set the subsite homepage. #14

Closed Polynya closed 5 months ago

Polynya commented 5 months ago

Add HOOK_localgov_subsites_extras_homepage_alter so that other modules can set the homepage.

As a previous todo says, an event may be better.

Polynya commented 5 months ago

I will add an api.php file

rupertj commented 5 months ago

I'm going to suggest we go with my PR #16 in favour of this one.

My reasoning is:

I think it's a good sign that we've both implemented pretty much the same thing though, it's a good sign that there's a need for this beyond our individual requirements.

Polynya commented 5 months ago

Yeah, I'm happy to close this once I've tried PR 16

Polynya commented 5 months ago

Closing in favour of PR 16