\Lumberjack

Class Lumberjack

Add this classes to SiteTree classes which children should be hidden.

Synopsis

class Lumberjack extends SiteTreeExtension {
}

Hierarchy

Extends

  • SiteTreeExtension

Methods

protected

  • excludeSiteTreeClassNames() — Excludes any hidden owner subclasses
  • getLumberjackGridFieldConfig() — This returns the gird field config for the lumberjack gridfield.
  • getLumberjackTitle() — This returns the title for the tab and GridField. This can be overwritten in the owner class.
  • shouldFilter() — Checks if we're on a controller where we should filter. ie. Are we loading the SiteTree? NB: This only checks the current controller. See https://github.com/silverstripe/silverstripe-lumberjack/pull/60 for a discussion around this.

public