- Issue created by @robbin.zhao
When i upgraded to 10.2, and then there is an error
The "block" entity type did not specify a view_builder handler. (web/core/lib/Drupal/Core/Entity/EntityTypeManager.php line 259)
install new module
replace blocache_entity_type_build to these function in blocache.module
function blocache_entity_type_alter(array &$entity_types) {
// Change the view_builder handler of the block entity.
$entity_types['block']->setViewBuilderClass('Drupal\blocache\BlocacheViewBuilder');
}
Needs review
2.0
Code