Experimental project
This is a sandbox project, which contains experimental code for developer use only.
This is similar to the simple content boxes provided by the Boxes module itself, except that this type of box displays different content depending on the language of the current page.
Development sponsored by Affinity Bridge
The review script at http://ventral.org/pareview/httpgitdrupalorgsandboxraphaelhuefner1748400git has the output of Drupal Code Sniffer:
FILE: .../all/modules/pareview_temp/test_candidate/plugins/simple_i18n_boxes.inc
--------------------------------------------------------------------------------
FOUND 5 ERROR(S) AND 1 WARNING(S) AFFECTING 5 LINE(S)
--------------------------------------------------------------------------------
11 | ERROR | Class name must begin with a capital letter
11 | ERROR | Class name must use UpperCamel naming without underscores
15 | ERROR | Public method name "simple_i18n_boxes::options_defaults" is not
| | in lowerCamel format, it must not contain underscores
31 | ERROR | Public method name "simple_i18n_boxes::options_form" is not in
| | lowerCamel format, it must not contain underscores
38 | WARNING | Line exceeds 80 characters; contains 92 characters
86 | ERROR | Public method name "simple_i18n_boxes::options_submit" is not
| | in lowerCamel format, it must not contain underscores
--------------------------------------------------------------------------------
All these errors are caused by the OOP naming conventions of the Boxes module which are followed by this module (since it is inheriting from Boxes), but which seem to contradict Drupal's OOP naming as outlined at conventions http://drupal.org/node/608152
Project information
- Project categories: Content editing experience, Content display
- Created by raphaelhuefner on , updated