SilverStripe\Assets\AssetControlExtension::onBeforeWrite
Ensure that changes to records flush overwritten files, and update the visibility of other assets.
Signature
public function onBeforeWrite()
public function onBeforeWrite()