Problem/Motivation

Popup UI submodule generates wrong feature dependency when for a custom popup style which is provided through hook_popup_styles().
This happens when custom module which implements this hook is located in some subfolder under sites/all/modules/.
For example my_module module is located in the /sites/all/modules/my_category/my_module/. In this case Popup UI will add my_category as feature dependency.

Proposed resolution

I've updated the part of code related to the dependency detection so now there is used module_implements() instead of regexp in the same way as it is for popup effects.
Seems like it works OK.

Comments

kyvour created an issue. See original summary.

kyvour’s picture

StatusFileSize
new1.03 KB

Patch attached

kyvour’s picture

Title: Popup UI generate wrong features dependency » Popup UI generates wrong features dependency
kyvour’s picture

StatusFileSize
new1.08 KB
new793 bytes

Little bit improved patch and interdiff

Scheepers de Bruin’s picture

Thanks so much!

  • vuil committed ed625e8 on 7.x-1.x authored by kyvour
    Issue #2780805 by kyvour, Scheepers de Bruin, vuil: Popup UI generates...
vuil’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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