Hello,

i've reformatted the whole project code to respect coding standards of drupal. I've converted all tabs to 2-spaces. I've added more line-breaks to get the lines as much as possible under 80 characters. I've also changed the coding of the template file on HTML based, instead of printing HTML via PHP.

The patch is followed in next comment.

Comments

pc-wurm created an issue. See original summary.

ey’s picture

Here's the patch. Please review.

sgdev’s picture

Related issues: +#2704723: Refactor module

Elin, we've taken the changes you've made in this patch, included some extra fixes, added some new features, and also streamlined the template files even further.

If you could please review our patch I would appreciate it. Thanks.

https://www.drupal.org/node/2704723