.has-error class attached to it, enabling this will automatically remove that class when a value is entered."), * defaultValue = 1, * groups = { * "general" = @Translation("General"), * "forms" = @Translation("Forms"), * }, * ) */ class FormsHasErrorValueToggle extends SettingBase { /** * {@inheritdoc} */ public function drupalSettings() { return TRUE; } }