You are here

README.txt in Entity Translation 7

-- SUMMARY --

Allows entities to be translated into different languages.

For a full description of the module, visit the project page:
  http://drupal.org/project/entity_translation
To submit bug reports and feature suggestions, or to track changes:
  http://drupal.org/project/issues/entity_translation


-- REQUIREMENTS --

None.


-- INSTALLATION --

* Install as usual, see http://drupal.org/node/70151 for further information.


-- CONFIGURATION --

* @todo


-- USAGE --

* @todo


-- DEVELOPERS --

--- PHP7 Compatibility detection ---

Use PHP Code Sniffer (via coder) with the PHPCompatibility sniffs installed.

* https://www.drupal.org/project/coder
* https://github.com/PHPCompatibility/PHPCompatibility

Once phpcs is installed, a simple way to add PHPCompatibility is:

* Run 'phpcs -i' to confirm the current recognised coding standards.
  Assuming that PHPCompatibility is not already listed...

* Run 'phpcs --config-show' and take note of the "installed_paths" value.

* Run 'composer require phpcompatibility/php-compatibility'

* Establish the absolute /path/to/vendor/phpcompatibility/php-compatibility
  which you should now have somewhere.

* Run 'phpcs --config-set installed_paths OLD,NEW' where OLD is the original
  value, and NEW is the php-compatibility path.

* Run 'phpcs -i' to confirm that PHPCompatibility has been added to the list
  of coding standards.

* Run 'phpcs --standard=PHPCompatibility <files>' to check <files>


--- PHP7 Compatibility hints ---

func_get_args() should be placed at the beginning of a method or function,
  before any modifications to the function's arguments take place. Its value
  should be assigned to a locally scoped variable - usually named $args by
  convention - to be used inside the function as needed. This is due to
  changes in PHP 7.0 and onwards.
  @see http://php.net/manual/en/function.func-get-args.php#refsect1-function.func-get-args-notes


-- CONTACT --

Current maintainers:
* Francesco Placella (plach) - http://drupal.org/user/183211
* Daniel F. Kudwien (sun) - http://drupal.org/user/54136
* Stefanos Petrakis (stefanos.petrakis) - https://www.drupal.org/u/stefanospetrakis

File

README.txt
View source
  1. -- SUMMARY --
  2. Allows entities to be translated into different languages.
  3. For a full description of the module, visit the project page:
  4. http://drupal.org/project/entity_translation
  5. To submit bug reports and feature suggestions, or to track changes:
  6. http://drupal.org/project/issues/entity_translation
  7. -- REQUIREMENTS --
  8. None.
  9. -- INSTALLATION --
  10. * Install as usual, see http://drupal.org/node/70151 for further information.
  11. -- CONFIGURATION --
  12. * @todo
  13. -- USAGE --
  14. * @todo
  15. -- DEVELOPERS --
  16. --- PHP7 Compatibility detection ---
  17. Use PHP Code Sniffer (via coder) with the PHPCompatibility sniffs installed.
  18. * https://www.drupal.org/project/coder
  19. * https://github.com/PHPCompatibility/PHPCompatibility
  20. Once phpcs is installed, a simple way to add PHPCompatibility is:
  21. * Run 'phpcs -i' to confirm the current recognised coding standards.
  22. Assuming that PHPCompatibility is not already listed...
  23. * Run 'phpcs --config-show' and take note of the "installed_paths" value.
  24. * Run 'composer require phpcompatibility/php-compatibility'
  25. * Establish the absolute /path/to/vendor/phpcompatibility/php-compatibility
  26. which you should now have somewhere.
  27. * Run 'phpcs --config-set installed_paths OLD,NEW' where OLD is the original
  28. value, and NEW is the php-compatibility path.
  29. * Run 'phpcs -i' to confirm that PHPCompatibility has been added to the list
  30. of coding standards.
  31. * Run 'phpcs --standard=PHPCompatibility ' to check
  32. --- PHP7 Compatibility hints ---
  33. func_get_args() should be placed at the beginning of a method or function,
  34. before any modifications to the function's arguments take place. Its value
  35. should be assigned to a locally scoped variable - usually named $args by
  36. convention - to be used inside the function as needed. This is due to
  37. changes in PHP 7.0 and onwards.
  38. @see http://php.net/manual/en/function.func-get-args.php#refsect1-function.func-get-args-notes
  39. -- CONTACT --
  40. Current maintainers:
  41. * Francesco Placella (plach) - http://drupal.org/user/183211
  42. * Daniel F. Kudwien (sun) - http://drupal.org/user/54136
  43. * Stefanos Petrakis (stefanos.petrakis) - https://www.drupal.org/u/stefanospetrakis