Issue #2407975 by neclimdul: Fatal error in Drupal\views\Plugin\views\argument\FieldList
parent
ed1c7bab53
commit
daa2c02e7a
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
namespace Drupal\views\Plugin\views\argument;
|
namespace Drupal\views\Plugin\views\argument;
|
||||||
|
|
||||||
use Drupal\Component\Utility\String;
|
use Drupal\Component\Utility\String as UtilityString;
|
||||||
use Drupal\Core\Field\AllowedTagsXssTrait;
|
use Drupal\Core\Field\AllowedTagsXssTrait;
|
||||||
use Drupal\Core\Form\FormStateInterface;
|
use Drupal\Core\Form\FormStateInterface;
|
||||||
use Drupal\views\ViewExecutable;
|
use Drupal\views\ViewExecutable;
|
||||||
|
@ -74,7 +74,7 @@ class FieldList extends Numeric {
|
||||||
}
|
}
|
||||||
// else fallback to the key.
|
// else fallback to the key.
|
||||||
else {
|
else {
|
||||||
return String::checkPlain($value);
|
return UtilityString::checkPlain($value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue