Loading openy_gtranslate.info.yml +1 −1 Original line number Diff line number Diff line name: Open Y Google Translate type: module description: Provides a Google Translate integration for Open Y. core_version_requirement: ^8 || ^9 core_version_requirement: ^9.3 || ^10 version: 8.x-2.0 package: Open Y openy_gtranslate.install +3 −3 Original line number Diff line number Diff line Loading @@ -35,7 +35,7 @@ function openy_gtranslate_update_8001() { */ function openy_gtranslate_update_8002() { if (\Drupal::service('theme_handler')->themeExists('openy_carnation')) { $config = drupal_get_path('theme', 'openy_carnation') . '/config/optional'; $config = \Drupal::service('extension.list.theme')->getPath('openy_carnation') . '/config/optional'; /** @var Drupal\openy_upgrade_tool\ConfigParamUpgradeTool $config_importer */ $config_importer = \Drupal::service('openy_upgrade_tool.importer'); $config_importer->setDirectory($config); Loading @@ -45,7 +45,7 @@ function openy_gtranslate_update_8002() { } if (\Drupal::service('theme_handler')->themeExists('openy_lily')) { $config = drupal_get_path('theme', 'openy_lily') . '/config/optional'; $config = \Drupal::service('extension.list.theme')->getPath('openy_lily') . '/config/optional'; /** @var Drupal\openy_upgrade_tool\ConfigParamUpgradeTool $config_importer */ $config_importer = \Drupal::service('openy_upgrade_tool.importer'); $config_importer->setDirectory($config); Loading @@ -55,7 +55,7 @@ function openy_gtranslate_update_8002() { } if (\Drupal::service('theme_handler')->themeExists('openy_rose')) { $config = drupal_get_path('theme', 'openy_rose') . '/config/optional'; $config = \Drupal::service('extension.list.theme')->getPath('openy_rose') . '/config/optional'; /** @var Drupal\openy_upgrade_tool\ConfigParamUpgradeTool $config_importer */ $config_importer = \Drupal::service('openy_upgrade_tool.importer'); $config_importer->setDirectory($config); Loading Loading
openy_gtranslate.info.yml +1 −1 Original line number Diff line number Diff line name: Open Y Google Translate type: module description: Provides a Google Translate integration for Open Y. core_version_requirement: ^8 || ^9 core_version_requirement: ^9.3 || ^10 version: 8.x-2.0 package: Open Y
openy_gtranslate.install +3 −3 Original line number Diff line number Diff line Loading @@ -35,7 +35,7 @@ function openy_gtranslate_update_8001() { */ function openy_gtranslate_update_8002() { if (\Drupal::service('theme_handler')->themeExists('openy_carnation')) { $config = drupal_get_path('theme', 'openy_carnation') . '/config/optional'; $config = \Drupal::service('extension.list.theme')->getPath('openy_carnation') . '/config/optional'; /** @var Drupal\openy_upgrade_tool\ConfigParamUpgradeTool $config_importer */ $config_importer = \Drupal::service('openy_upgrade_tool.importer'); $config_importer->setDirectory($config); Loading @@ -45,7 +45,7 @@ function openy_gtranslate_update_8002() { } if (\Drupal::service('theme_handler')->themeExists('openy_lily')) { $config = drupal_get_path('theme', 'openy_lily') . '/config/optional'; $config = \Drupal::service('extension.list.theme')->getPath('openy_lily') . '/config/optional'; /** @var Drupal\openy_upgrade_tool\ConfigParamUpgradeTool $config_importer */ $config_importer = \Drupal::service('openy_upgrade_tool.importer'); $config_importer->setDirectory($config); Loading @@ -55,7 +55,7 @@ function openy_gtranslate_update_8002() { } if (\Drupal::service('theme_handler')->themeExists('openy_rose')) { $config = drupal_get_path('theme', 'openy_rose') . '/config/optional'; $config = \Drupal::service('extension.list.theme')->getPath('openy_rose') . '/config/optional'; /** @var Drupal\openy_upgrade_tool\ConfigParamUpgradeTool $config_importer */ $config_importer = \Drupal::service('openy_upgrade_tool.importer'); $config_importer->setDirectory($config); Loading