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.
All of the functions (or many of them, at least) that are included in the different component files (select.inc, etc) begin with an underscore. Why did you choose to name those functions that way? I checked the drupal style guide and couldn't find anything on it. Is that just a webform convention, or is it drupal-wide convention?
Comments
Comment #1
quicksketchThe underscore means that it is a "private" function, one that shouldn't be called from other modules. Prefixing functions with underscores is a common naming convention in Drupal to prevent accidentally matching a hook name.
Comment #2
ldweeks CreditAttribution: ldweeks commentedAwesome. As long as you don't object, I'll go ahead and add your explanation here.
Thanks. Marking as "closed (fixed)".