By tstoeckler on
Change record status:
Draft (View all draft change records)
Project:
Introduced in branch:
11.4.x
Issue links:
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