Access the configuration registry#
You can access the configuration registry as follows.
import config from '@plone/registry'
const blocksConfig = config.blocks.blocksConfig
This method assumes that either you previously created a blocksConfig
key in blocks
in your add-on, or another add-on sets it.