\Lumberjack

Class Lumberjack

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

Synopsis

class Lumberjack extends SiteTreeExtension {
}

Hierarchy

Extends

  • SiteTreeExtension

Methods

protected

  • 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?

public