Replacing \Drupal::token() with IoC injection for WidgetBase.php file.
git gr...

Contribution Date
Technology
Contribution Project
Contribution Details

Replacing \Drupal::token() with IoC injection for WidgetBase.php file.

git grep -nri '\Drupal::token()' core | grep -v .module | grep -iv test.php | grep -iv .inc | grep -iv trait.php| grep -iv .api.php | grep -v authorize.php | grep -iv testbase.php | grep -v '//' | grep -v '*' | grep -v .theme | grep -v '/tests/' core/lib/Drupal/Core/Field/WidgetBase.php:602: return FieldFilteredMarkup::create(\Drupal::token()->replace($this->fieldDefinition->getDescription()));

Kindly review.

Contribution Author
Files count
1
Patches count
1