25 lines
489 B
JavaScript
25 lines
489 B
JavaScript
/**
|
|
* Returns an object holding the defaults hooks structure
|
|
*
|
|
* @constructor
|
|
* @return {object} hooks - The default hooks holding structure
|
|
*/
|
|
export function Hooks() {
|
|
return {
|
|
preInit: [],
|
|
postInit: [],
|
|
preDraft: [],
|
|
preSetDraft: [],
|
|
prePartDraft: [],
|
|
postPartDraft: [],
|
|
postSetDraft: [],
|
|
postDraft: [],
|
|
preSample: [],
|
|
postSample: [],
|
|
preRender: [],
|
|
preLayout: [],
|
|
postLayout: [],
|
|
postRender: [],
|
|
insertText: [],
|
|
}
|
|
}
|