@@ -4,13 +4,7 @@ |
||
4 | 4 | |
5 | 5 | use Behat\Behat\Context\Context; |
6 | 6 | use Symfony\Component\Yaml\Yaml; |
7 | -use Drupal\DrupalExtension\Context\DrupalContext; |
|
8 | -use Behat\MinkExtension; |
|
9 | -use Behat\Behat\Context\TranslatableContext; |
|
10 | 7 | use Behat\Mink\Element\Element; |
11 | -use Behat\Gherkin\Node\TableNode; |
|
12 | -use Behat\Behat\Hook\Scope\BeforeScenarioScope; |
|
13 | -use Behat\MinkExtension\Context\RawMinkContext; |
|
14 | 8 | |
15 | 9 | /** |
16 | 10 | * This is the file for Multilingual context for Drupal. The context is working based on specifications |
@@ -112,6 +112,7 @@ |
||
112 | 112 | |
113 | 113 | /** |
114 | 114 | * This function localizes the field based on Drupal standards. default_language variable is used as a base. |
115 | + * @return string |
|
115 | 116 | */ |
116 | 117 | |
117 | 118 | public function localizeField($field) { |