protected $themeManager;
/**
+ * The form validator.
+ *
* @var \Drupal\Core\Form\FormValidatorInterface
*/
protected $formValidator;
/**
+ * The form submitter.
+ *
* @var \Drupal\Core\Form\FormSubmitterInterface
*/
protected $formSubmitter;
// will be replaced at the very last moment. This ensures forms with
// dynamically generated action URLs don't have poor cacheability.
// Use the proper API to generate the placeholder, when we have one. See
- // https://www.drupal.org/node/2562341. The placholder uses a fixed string
+ // https://www.drupal.org/node/2562341. The placeholder uses a fixed string
// that is Crypt::hashBase64('Drupal\Core\Form\FormBuilder::prepareForm');
$placeholder = 'form_action_p_pvdeGsVG5zNF_XLGPTvYSKCf43t8qZYSwcfZl2uzM';
'#attached' => [
'placeholders' => [
$placeholder => [
- '#lazy_builder' => ['form_builder:renderFormTokenPlaceholder', [$placeholder]]
- ]
- ]
+ '#lazy_builder' => ['form_builder:renderFormTokenPlaceholder', [$placeholder]],
+ ],
+ ],
],
'#cache' => [
'max-age' => 0,