Skip to content

Commit

Permalink
Merge pull request #22 from ShawnConn/lint
Browse files Browse the repository at this point in the history
linting / Drupal CS
  • Loading branch information
ShawnConn authored Nov 11, 2020
2 parents cff0847 + 514b6ce commit afadb0a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,17 @@ This installation guide assumes you've already configured the Drupal core
multilingual modules as needed for your setup.

1. Install TMGMT (if not installed)
- `composer require 'drupal/tmgmt:^1.11'` or tarball extraction to `modules/contrib`
- `composer require 'drupal/tmgmt:^1.11'` or tarball extraction
to `modules/contrib`
- `drush en tmgmt` or via `/admin/modules` admin UI.
2. Install Lilt TMGMT
- `composer require 'drupal/tmgmt_lilt:^1.0'` or tarball extraction to `modules/contrib`
- `composer require 'drupal/tmgmt_lilt:^1.0'` or tarball extraction
to `modules/contrib`
- `drush en tmgmt_lilt` or via `/admin/modules` admin UI.
3. Config Lilt Provider
- Via Drush:
- `drush cset tmgmt.translator.lilt weight -20`
- `drush cset tmgmt.translator.lilt settings.lilt_api_key "$MY_LILT_API_KEY"`
- `drush cset tmgmt.translator.lilt settings.lilt_api_key "$LILT_API_KEY"`
- Via UI:
- Browse to `/admin/tmgmt/translators`
- Drag priority to make **Lilt** the top provider.
Expand Down
1 change: 0 additions & 1 deletion src/LiltTranslatorUi.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
use Drupal\tmgmt\JobItemInterface;
use Drupal\tmgmt\TranslatorPluginUiBase;
use Drupal\tmgmt_lilt\Plugin\tmgmt\Translator\LiltTranslator;
use Drupal\Core\Cache\CacheBackendInterface;

/**
* Lilt translator UI.
Expand Down

0 comments on commit afadb0a

Please sign in to comment.