SilverStripe\VersionedAdmin\Controllers\HistoryControllerFactory
The history controller factory decides which CMS history controller to use, out of the default from the silverstripe/cms module or the history viewer controller from this module, depending on the current page type
Synopsis
class HistoryControllerFactory
implements
Factory
{
}
}
Hierarchy
Uses
- SilverStripe\Core\Extensible
Implements
- SilverStripe\Core\Injector\Factory
Methods
public
- create()
- isEnabled() — Only deactivate for pages that have a history viewer capability removed. Extensions can provide their own two cents about this criteria.