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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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();