register_block.Rd
Register, list and retrieve available blocks.
register_block(
ctor,
name,
description,
classes = NULL,
uid = NULL,
category = "uncategorized",
package = NULL,
overwrite = FALSE
)
list_blocks()
unregister_blocks(uid = list_blocks())
register_blocks(...)
available_blocks()
create_block(id, ...)
Block constructor
Metadata describing the block
Block classes
Unique ID for a registry entry
Useful to sort blocks by topics. If not specified, blocks are uncategorized.
Package where constructor is defined (or NULL
)
Overwrite existing entry
Forwarded to register_block()
Block ID as reported by list_blocks()