SilverStripe\Headless\Extensions\DataObjectHashExtension
Synopsis
class DataObjectHashExtension
extends DataExtension
{
- // members
- private static string $headless_schema = 'default';
- // methods
- public static string createHashID()
- public string|null getHashID()
- public array getTypeAncestry()
Hierarchy
Extends
- SilverStripe\ORM\DataExtension
Tasks
Line | Task |
---|---|
44+ | Maybe move this to the gatsby module. NextJS doesn't have much use for it |
Members
private
- $headless_schema — string
Methods
public
- createHashID()
- getHashID() — Gets a truly unique identifier to the classname and ID
- getTypeAncestry()