When skinr_implements() is looking through the array of extensions, each one it looks at is called $module in the foreach. I believe that's an assumption because themes can be in that list. If the extension does not define an 'include file' then module_hook() is called. This produces the following warning if the extension is a theme:

: The following module is missing from the file system: [theme name]. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1143 of includes/bootstrap.inc)

To reproduce:

  1. Enable Skinr
  2. Download Zen version 3.x to sites/all/themes
  3. Download and enable the CTI Flex theme.
  4. Enable or disable some module other than Skinr

Comments

jacob.embree created an issue. See original summary.

jacob.embree’s picture

Status: Active » Closed (works as designed)

This is all wrong. It handles themes just fine when they use the API properly. See #3023717: Fix "The following module is missing from the file system . . ." for the fix for CTI Flex.