In order to ensure that sites can use hook_metatag_config_default_alter() to override all defaults provided by Metatag, add a new hook for defaults provided by Metatag's submodules that append to the hook_metatag_config_default() provided by the main Metatag module, so that any modules implementing hook_metatag_config_default_alter can be assured they'll execute after all of the submodules have loaded their defaults already.

CommentFileSizeAuthor
#1 metatag-n2273241-1.patch3.21 KBdamienmckenna

Comments

damienmckenna’s picture

Status: Active » Needs review
StatusFileSize
new3.21 KB

This adds hook_metatag_bundled_config_alter(), which appears to do what I was looking for. In a slight change from tradition, I added some API documentation

damienmckenna’s picture

Status: Needs review » Fixed

Committed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.