frontend / entities/blocks/variableBlocks / configureVariablesCategory
Function: configureVariablesCategory()
configureVariablesCategory(
workspace):void
Defined in: entities/blocks/variableBlocks.ts:62
Registers custom callback for variables category and for "create variable" button inside it.
Should be called once after Blockly workspace is created. Without this call, variable category in toolbox will use default Blockly behavior which does not match our design.
Parameters
workspace
WorkspaceSvg
Workspace where callbacks will be registered.
Returns
void