Skip to content
Snippets Groups Projects

Issue #3123929 by DamienMcKenna: Add core_version_requirements line to info...

Files
6
@@ -3,17 +3,17 @@
namespace Drupal\field_redirection;
use Drupal\Core\Field\FieldItemListInterface;
use Drupal\Core\Field\Plugin\Field\FieldType\EntityReferenceItem;
use Drupal\Core\Path\PathMatcherInterface;
use Drupal\Core\Session\AccountInterface;
use Drupal\Core\State\StateInterface;
use Drupal\Core\StringTranslation\StringTranslationTrait;
use Drupal\Core\Url;
use Drupal\Core\Utility\Token;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
use Drupal\file\Plugin\Field\FieldType\FileItem;
use Drupal\link\Plugin\Field\FieldType\LinkItem;
use Drupal\Core\Field\Plugin\Field\FieldType\EntityReferenceItem;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
/**
* Defines a service for evaluating the intended action for a field redirection.
@@ -105,7 +105,7 @@ class FieldRedirectionResultBuilder {
['clear' => TRUE]
);
// Normalise all paths to lower case.
// Normalize all paths to lower case.
$pages = mb_strtolower($pages);
$page_match = $this->pathMatcher->matchPath($current_path, $pages);
Loading