Commit 560604fa authored by gbyte.co's avatar gbyte.co

Fix string translation trait bug

parent 6d0973a2
...@@ -8,7 +8,6 @@ use Drupal\Core\Plugin\ContainerFactoryPluginInterface; ...@@ -8,7 +8,6 @@ use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
use Symfony\Component\DependencyInjection\ContainerInterface; use Symfony\Component\DependencyInjection\ContainerInterface;
use Drupal\Component\Utility\Html; use Drupal\Component\Utility\Html;
use Drupal\Core\Entity\ContentEntityBase; use Drupal\Core\Entity\ContentEntityBase;
use Drupal\Core\StringTranslation\StringTranslationTrait;
use Drupal\Core\Url; use Drupal\Core\Url;
use Drupal\simple_sitemap\EntityHelper; use Drupal\simple_sitemap\EntityHelper;
use Drupal\simple_sitemap\Logger; use Drupal\simple_sitemap\Logger;
...@@ -23,8 +22,6 @@ use Drupal\Core\Entity\EntityTypeManagerInterface; ...@@ -23,8 +22,6 @@ use Drupal\Core\Entity\EntityTypeManagerInterface;
*/ */
abstract class UrlGeneratorBase extends PluginBase implements PluginInspectionInterface, ContainerFactoryPluginInterface, UrlGeneratorInterface { abstract class UrlGeneratorBase extends PluginBase implements PluginInspectionInterface, ContainerFactoryPluginInterface, UrlGeneratorInterface {
use StringTranslationTrait;
const ANONYMOUS_USER_ID = 0; const ANONYMOUS_USER_ID = 0;
const PROCESSING_PATH_MESSAGE = 'Processing path #@current out of @max: @path'; const PROCESSING_PATH_MESSAGE = 'Processing path #@current out of @max: @path';
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment