@@ -8,8 +8,6 @@ |
||
8 | 8 | */ |
9 | 9 | |
10 | 10 | use Drupal\Core\Render\Element; |
11 | -use Drupal\Core\Link; |
|
12 | -use Drupal\Core\Url; |
|
13 | 11 | |
14 | 12 | /** |
15 | 13 | * Prepares variables for Event template templates. |
@@ -2,11 +2,11 @@ |
||
2 | 2 | |
3 | 3 | namespace Drupal\mongodb_watchdog\Entity; |
4 | 4 | |
5 | -use Drupal\Core\Entity\EntityStorageInterface; |
|
6 | -use Drupal\Core\Field\BaseFieldDefinition; |
|
7 | 5 | use Drupal\Core\Entity\ContentEntityBase; |
8 | 6 | use Drupal\Core\Entity\EntityChangedTrait; |
7 | +use Drupal\Core\Entity\EntityStorageInterface; |
|
9 | 8 | use Drupal\Core\Entity\EntityTypeInterface; |
9 | +use Drupal\Core\Field\BaseFieldDefinition; |
|
10 | 10 | use Drupal\user\UserInterface; |
11 | 11 | |
12 | 12 | /** |
@@ -2,10 +2,10 @@ |
||
2 | 2 | |
3 | 3 | namespace Drupal\mongodb_watchdog; |
4 | 4 | |
5 | +use Drupal\Core\Access\AccessResult; |
|
5 | 6 | use Drupal\Core\Entity\EntityAccessControlHandler; |
6 | 7 | use Drupal\Core\Entity\EntityInterface; |
7 | 8 | use Drupal\Core\Session\AccountInterface; |
8 | -use Drupal\Core\Access\AccessResult; |
|
9 | 9 | |
10 | 10 | /** |
11 | 11 | * Access controller for the Event template entity. |
@@ -7,11 +7,11 @@ |
||
7 | 7 | use Drupal\Core\Logger\RfcLogLevel; |
8 | 8 | use Drupal\Core\Site\Settings; |
9 | 9 | use Drupal\Core\StringTranslation\StringTranslationTrait; |
10 | +use Drupal\Tests\BrowserTestBase; |
|
10 | 11 | use Drupal\mongodb\MongoDb; |
11 | 12 | use Drupal\mongodb_watchdog\Logger; |
12 | -use Drupal\Tests\BrowserTestBase; |
|
13 | -use Psr\Log\LoggerInterface; |
|
14 | 13 | use Psr\Log\LogLevel; |
14 | +use Psr\Log\LoggerInterface; |
|
15 | 15 | use Symfony\Component\HttpFoundation\Response; |
16 | 16 | |
17 | 17 | /** |
@@ -6,9 +6,9 @@ |
||
6 | 6 | |
7 | 7 | use Drupal\Core\Logger\RfcLogLevel; |
8 | 8 | use Drupal\Core\StringTranslation\StringTranslationTrait; |
9 | +use Drupal\Tests\mongodb\Kernel\MongoDbTestBase; |
|
9 | 10 | use Drupal\mongodb\MongoDb; |
10 | 11 | use Drupal\mongodb_watchdog\Logger; |
11 | -use Drupal\Tests\mongodb\Kernel\MongoDbTestBase; |
|
12 | 12 | |
13 | 13 | /** |
14 | 14 | * Class LoggerTest tests the logging mechanism itself. |