\OpenGraphObjectExtension

Adds open graph functionality to a page or data object

Synopsis

class OpenGraphObjectExtension extends SiteTreeExtension implements IOGObjectExplicit {
  • // members
  • public static string $default_image = '/opengraph/images/logo.gif';
}

Hierarchy

Extends

  • SiteTreeExtension

Implements

Tasks

Line Task
19 : Should custom namespace be injected here, or left up to user code?

Members

public

  • $default_image

Methods

protected

public