TractorCow\Fluent\Tests\Extension\FluentAdminTraitTest\AdminHandler
Dummy admin handler to hold trait
Synopsis
class AdminHandler
implements
TestOnly
{
- // methods
- public string actionComplete()
- // Inherited methods from FluentAdminTrait
- public abstract HTTPResponse|string|DBHTMLText actionComplete()
- protected void updateFluentActions()
- public mixed clearFluent()
- public mixed copyFluent()
- public mixed unpublishFluent()
- public mixed archiveFluent()
- public mixed deleteFluent()
- public mixed publishFluent()
- public mixed showFluent()
- public mixed hideFluent()
- protected void inEveryLocale()
- protected void inEveryStage()
- protected void updateSaveAction()
- protected void updateDeleteAction()
Hierarchy
Uses
- TractorCow\Fluent\Extension\Traits\FluentAdminTrait
- SilverStripe\Core\Injector\Injectable
Implements
- SilverStripe\Dev\TestOnly
Methods
public
Inherited from TractorCow\Fluent\Extension\Traits\FluentAdminTrait
protected
- inEveryLocale() — Do an action in every locale
- inEveryStage() — Do an action in every stage (Live first)
- updateDeleteAction() — Update delete action based on localisation state valid states: - localised more than one locale (unlocalise label) - localised in one locale (delete label) - not localised (remove the action)
- updateFluentActions() — Decorate actions with fluent-specific details
- updateSaveAction() — Update save action based on localisation state valid states: - localised (localise label) - not localised (save label)
public
- actionComplete()
- archiveFluent() — Archives the current object from all locales (versioned)
- clearFluent()
- copyFluent() — Copy this record to other localisations (not published)
- deleteFluent() — Delete the current object from all locales (non-versioned)
- hideFluent()
- publishFluent()
- showFluent()
- unpublishFluent() — Unpublishes the current object from all locales