Edit this topic

Documentation edit button handler

: request

: documentation

: shape-handler

: /modules/core/documentation/services/documentation-edit-button-handler.js

: https://github.com/DecentCMS/DecentCMS/blob/master/modules/core/documentation/services/documentation-edit-button-handler.js

DocumentationEditButtonHandler

Handler for a part that builds an edit button for documentation topics.

Kind: global variable

DocumentationEditButtonHandler.handle(context, done)

Build a shape for the edit button for documentation topics.

Kind: static method of DocumentationEditButtonHandler

Param Type Description
context object The context object.
context.shape object The content shape that has the part.
context.scope object The scope.
done function The callback.