Skip to content
Snippets Groups Projects
Unverified Commit af4c9934 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3105976 by Hardik_Patel_12, Kristen Pol, catch: Type hint...

Issue #3105976 by Hardik_Patel_12, Kristen Pol, catch: Type hint "\Drupal\block\BlockInterface" missing for $entity
parent d3f654b0
No related branches found
No related tags found
No related merge requests found
......@@ -92,7 +92,7 @@ public function viewMultiple(array $entities = [], $view_mode = 'full', $langcod
* @return array
* A render array with a #pre_render callback to render the block.
*/
protected static function buildPreRenderableBlock($entity, ModuleHandlerInterface $module_handler) {
protected static function buildPreRenderableBlock(BlockInterface $entity, ModuleHandlerInterface $module_handler) {
$plugin = $entity->getPlugin();
$plugin_id = $plugin->getPluginId();
$base_id = $plugin->getBaseId();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment