Skip to content

Commit

Permalink
Merge pull request #115 from City-of-Helsinki/UHF-8388
Browse files Browse the repository at this point in the history
UHF-8388: changed FilterInterface
  • Loading branch information
rpnykanen authored Jun 15, 2023
2 parents b5e541b + 2fdc7c3 commit af41c08
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Logger/JsonLog.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@

namespace Drupal\helfi_api_base\Logger;

use Drupal\Core\Logger\LogMessageParserInterface;
use Drupal\Core\Logger\RfcLoggerTrait;
use Drupal\Core\Logger\RfcLogLevel;
use Drupal\Core\StringTranslation\TranslatableMarkup;
use Psr\Log\LoggerInterface;
use Drupal\Core\Logger\RfcLogLevel;
use Drupal\Core\Logger\LogMessageParserInterface;

/**
* This class allows logging to stdout and stderr.
Expand Down
2 changes: 1 addition & 1 deletion src/Plugin/Filter/LinkConverter.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* id = "helfi_link_converter",
* title = @Translation("Hel.fi: Link converter"),
* description = @Translation("Runs embedded links through a template. NOTE: This filter must be run after 'Convert URLs into links' filter."),
* type = Drupal\filter\Plugin\FilterInterface::TYPE_MARKUP_LANGUAGE,
* type = Drupal\filter\Plugin\FilterInterface::TYPE_TRANSFORM_REVERSIBLE,
* settings = {},
* weight = -10
* )
Expand Down
2 changes: 1 addition & 1 deletion tests/src/Kernel/DefaultLanguagesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
namespace Drupal\Tests\helfi_api_base\Kernel;

use Drupal\KernelTests\KernelTestBase;
use Drupal\Tests\helfi_api_base\Traits\LanguageManagerTrait;
use Drupal\language\Entity\ConfigurableLanguage;
use Drupal\Tests\helfi_api_base\Traits\LanguageManagerTrait;

/**
* Tests language resolver functionality.
Expand Down

0 comments on commit af41c08

Please sign in to comment.