SilverStripe\MultiForm\Models\MultiFormStep::isCurrentStep
Determines whether the currently viewed step is the current step set in the session.
This assumes you are checking isCurrentStep() against a data record of a MultiFormStep subclass, otherwise it doesn't work. An example of this is using a singleton instance - it won't work because there's no data.
Signature
public function isCurrentStep()
Returns
- boolean