Happy New Year!

I needed to extend this module and while working with it I noticed that there are certain enhancements that could be easily done.

Attached patch has the following:

- Code formatting according to Drupal standards.
- Stores module path in a separate variable instead of calling drupal_get_path() twice

Thanks!

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

aramboyajyan’s picture

aramboyajyan’s picture

FileSize
6.93 KB

Optimizing another instance in .module file, where drupal_get_path() was called twice.

Attached is the updated patch.