moduleHandler !== Article::class) { return; } $settings = $content->moduleSettings; $settings['allowComments'] = isset($input['allowComments']) ? (int)$input['allowComments'] : 0; $content->moduleSettings = $settings; $content->save(); } }