Introduction of getActions() method in FormResource
A new method called getActions() has been added to the FormResource class. This method is designed to define what actions can be performed on the form.
Relocation of actions to getActions() method
The actions formerly defined in the actions() method have been moved to the new getActions() method for more centralized and efficient management.
Addition of ShortUrlAction to getActions()
We have introduced a new action called ShortUrlAction in the getActions() method. This action, as the name suggests, is intended to handle short URL related tasks.
Conditional Inclusion of ShortUrlAction
The HelenServiceProvider class has been imported. If this class is present in the system, the ShortUrlAction will be included in the list of actions.
Removal of duplicate ReplicateFormAction
Any duplicate presence of ReplicateFormAction within the actions() method has been removed as part of this update to prevent unnecessary redundancy.
There are no other substantial changes as part of this PR beyond these highlighted areas.
PR Summary
Introduction of
getActions()
method inFormResource
A new method calledgetActions()
has been added to theFormResource
class. This method is designed to define what actions can be performed on the form.Relocation of actions to
getActions()
method The actions formerly defined in theactions()
method have been moved to the newgetActions()
method for more centralized and efficient management.Addition of
ShortUrlAction
togetActions()
We have introduced a new action calledShortUrlAction
in thegetActions()
method. This action, as the name suggests, is intended to handle short URL related tasks.Conditional Inclusion of
ShortUrlAction
TheHelenServiceProvider
class has been imported. If this class is present in the system, theShortUrlAction
will be included in the list of actions.Removal of duplicate
ReplicateFormAction
Any duplicate presence ofReplicateFormAction
within theactions()
method has been removed as part of this update to prevent unnecessary redundancy.There are no other substantial changes as part of this PR beyond these highlighted areas.