d8-contrib-modules / addthis

Port AddThis to D8
GNU General Public License v2.0
3 stars 13 forks source link

Abstracted out BasicButton and BasicToolbox Forms/displays. #22

Closed doylejd closed 9 years ago

doylejd commented 9 years ago
doylejd commented 9 years ago

Resolves issue https://github.com/d8-contrib-modules/addthis/issues/20

nerdstein commented 9 years ago

@doylejd - big things from my review:

  1. module files should only contain hooks, all custom callbacks should be in controller classes
  2. The 'AddThis' class itself looks like a potential controller.

Controllers should go into src/Controller

doylejd commented 9 years ago

@nerdstein Added comments and refactored code based on standards.

Investigating Controller classes and the ability to move the validate function. Additional refactoring may be needed. If so, I will open new issues for it.