Allows the creation of custom blocks through the user interface. File core/modules/block_content/block_content
Defines the custom block entity class. @ContentEntityType( id = "block_content", label = @Translation("Custom block"), bundle_label = @Translation("Custom
public BlockContentForm::form(array $form, FormStateInterface
public BlockContentInterface::setTheme($theme)
public BlockContentInterface::setRevisionL
public BlockContentInterface::getTheme()
public BlockContentInterface::getRevisionLog()
block_content_add_body_field($block_type_id, $label = 'Body') Adds the default body field to a custom block
Page 10 of 10