protected function WebformCliService::drush_webform_composer_get_json_encode_options in Webform 8.5
Same name and namespace in other branches
- 6.x src/Commands/WebformCliService.php \Drupal\webform\Commands\WebformCliService::drush_webform_composer_get_json_encode_options()
Get Composer specific JSON encode options.
Return value
int Composer specific JSON encode options.
See also
https://getcomposer.org/apidoc/1.6.2/Composer/Json/JsonFile.html#method_...
2 calls to WebformCliService::drush_webform_composer_get_json_encode_options()
- WebformCliService::drush_webform_composer_update in src/
Commands/ WebformCliService.php - Implements drush_hook_COMMAND().
- WebformCliService::drush_webform_libraries_composer in src/
Commands/ WebformCliService.php - Implements drush_hook_COMMAND().
File
- src/
Commands/ WebformCliService.php, line 1136
Class
- WebformCliService
- Drush version agnostic commands.
Namespace
Drupal\webform\CommandsCode
protected function drush_webform_composer_get_json_encode_options() {
return JSON_UNESCAPED_SLASHES | JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE;
}