SheaDawson\Blocks\Extensions\BlocksContentControllerExtension

Synopsis

class BlocksContentControllerExtension extends Extension {
}

Hierarchy

Extends

  • SilverStripe\Core\Extension

Members

private

  • $allowed_actions — array

Methods

public

  • handleBlock() — Handles blocks attached to a page Assumes URLs in the following format: <URLSegment>/block/<block-ID>.
  • onAfterInit()