class HistoryRenderCallback implements RenderCallbackInterface (View source)

Render callback object.

Methods

static array
lazyBuilder(int $node_id)

lazy_builder callback; attaches the last read timestamp for a node.

Details

static array lazyBuilder(int $node_id)

lazy_builder callback; attaches the last read timestamp for a node.

Parameters

int $node_id

The node ID for which to attach the last read timestamp.

Return Value

array

A renderable array containing the last read timestamp.