πŸ‡ΊπŸ‡ΈUnited States @collinhaines

Account created on 8 June 2017, about 7 years ago
#

Recent comments

πŸ‡ΊπŸ‡ΈUnited States collinhaines

Recreation steps with contrib module smart_trim β†’ :

  1. Install standard profile, enable smart_trim module.
  2. Create a test view showing page content.
  3. Add the body field and in its formatter select Smart Trimmed.

The Browse available tokens link in newly generated More link section is generated based off the contrib token's token_tree_link theme. Because #themes do not require #type properties, this throws the undefined array key warning.

(This is also most likely reproduceable everywhere that formatter is placed, I just ran into it here.)

πŸ‡ΊπŸ‡ΈUnited States collinhaines

I found all instances of new Instances(); and replaced it with ClassResolverInterface::getInstanceFromDefinition().

It appears that on the SmartDateOverrideForm, the form_builder service was only being injected to be used as a constructor parameter. Since that was it's only usage and the controller initialization was replaced, I removed the form_builder service from this form class.

Production build 0.69.0 2024