Closed (fixed)
Project:
Webform
Version:
8.x-5.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
7 Mar 2017 at 14:42 UTC
Updated:
21 Mar 2017 at 17:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
tessa bakkerThe patch will fix this issue, but it would be better to move every hook to webform.module and create a system that autoload every my_module.webform.inc file with webform hooks. Like the module Tokens en Views.
Comment #3
jrockowitz commentedI am using these includes to just isolate specific hooks. I am open to create an autoload.
Looks like core is using 'require_once __DIR__ . '/file.field.inc';'
@see http://cgit.drupalcode.org/drupal/tree/core/modules/file/file.module?h=8...
require_once 'includes/webform.libraries.inc';should be changedrequire_once __DIR__ . 'includes/webform.libraries.inc';Comment #4
tessa bakkerGood catch!
New patch, with __DIR__
Comment #6
jrockowitz commented