function gutenberg_register_block_core_block in Gutenberg 8
Same name and namespace in other branches
- 8.2 vendor/gutenberg/block-library/blocks/block.php \gutenberg_register_block_core_block()
Registers the `core/block` block.
1 string reference to 'gutenberg_register_block_core_block'
File
- vendor/
gutenberg/ block-library/ blocks/ block.php, line 35
Code
function gutenberg_register_block_core_block() {
register_block_type('core/block', array(
'attributes' => array(
'ref' => array(
'type' => 'number',
),
),
'render_callback' => 'gutenberg_render_block_core_block',
));
}