Terraformers\EmbargoExpiry\Extension\EmbargoExpiryExtension::preUnPublishTargetJob
A method that can be implemented on your DataObject. This method is run with invokeWithExtensions prior to calling doUnpublish() in the PublishTargetJob.
The purpose of this method is to allow you a chance to modify your DataObject in any way you may need to prior to it being unpublished. You have access to any $options that you set as part of the PublishTargetJob.
Signature
public function preUnPublishTargetJob(array
$options )
Parameters
$options
— array