How to alter block configuration data in Drupal 8/9

In Drupal 8/9, Use hook_block_view_alter() to alter all blocks.Use hook_block_view_BASE_BLOCK_ID_alter() to alter a specific block.
For example, change uppercase the block title.
copy-icon

Comments

Authors

Read Next