Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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:
Comments
Comment #2
jacob.embree CreditAttribution: jacob.embree at St. Louis Integration commentedThis 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.