Change record status: 
Project: 
Introduced in branch: 
11.4.x
Description: 

\Drupal\Core\Block\BlockPluginInterface::BLOCK_LABEL_VISIBLE is deprecated. Use TRUE as the value of the label_display block configuration instead.


// Before
// Make the label visible.
MyAwesomeBlock::setConfigurationValue('label_display', BlockPluginInterface::BLOCK_LABEL_VISIBLE);
// Hide the label.
MyAwesomeBlock::setConfigurationValue('label_display', '');

// After
// Make the label visible.
MyAwesomeBlock::setConfigurationValue('label_display', TRUE);
// Hide the label.
MyAwesomeBlock::setConfigurationValue('label_display', FALSE);
Impacts: 
Module developers
Site templates, recipes and distribution developers