diff --git a/src/Entity/ListBuilder/AppListBuilder.php b/src/Entity/ListBuilder/AppListBuilder.php index 5a96173b..dce797ea 100644 --- a/src/Entity/ListBuilder/AppListBuilder.php +++ b/src/Entity/ListBuilder/AppListBuilder.php @@ -290,7 +290,8 @@ protected function buildWarningRow(AppInterface $app, array &$rows) { $url = Url::fromUserInput($this->requestStack->getCurrentRequest()->getRequestUri(), $link_options); $link = Link::fromTextAndUrl($this->t('Show details'), $url); $build['warning-toggle'] = $link->toRenderable(); - $rows[$info_row_css_id]['data']['status']['data'] = $this->renderer->renderPlain($build); + // @todo renderPlain() is deprecated for Drupal 10.3 & is removed from drupal:12.0. Use \Drupal\Core\Render\RendererInterface::renderInIsolation() instead. https://www.drupal.org/node/3407994 + $rows[$info_row_css_id]['data']['status']['data'] = $this->renderer->renderPlain($build); // @phpstan-ignore argument.type $row['data']['info'] = [ 'colspan' => count($this->buildHeader()), ];