- 🇧🇾Belarus ivnish
Yes, I think this issue can be closed. Code style issues will be fixed in another issues
Automatically closed - issue fixed for 2 weeks with no activity.
https://www.drupal.org/pift-ci-job/2029406 →
Render callbacks must be a closure or implement TrustedCallbackInterface or RenderElementInterface → .
3x: Render #lazy_builder callbacks must be methods of a class that implements \Drupal\Core\Security\TrustedCallbackInterface or be an anonymous function. The callback was Drupal\rate\RateEntityVoteWidget::buildRateVotingWidget. Support for this callback implementation is deprecated in 8.8.0 and will be removed in Drupal 9.0.0. See https://www.drupal.org/node/2966725
3x in ViewsFilterTest::testFilterMin from Drupal\Tests\rate\Functional\ViewsFilterTest.php
See https://git.drupalcode.org/project/rate/-/blob/8.x-1.x/src/Plugin/views/...
public function render(ResultRow $values) {
$entity = $this->getEntity($values);
$widget = [];
if ($entity) {
$widget = [
'#lazy_builder' => ['rate.entity.vote_widget:buildRateVotingWidget',
[
$entity->id(),
$entity->getEntityType()->id(),
$entity->bundle(),
$this->options['widget_type'],
],
],
'#create_placeholder' => TRUE,
];
}
return $widget;
}
Fixed
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Yes, I think this issue can be closed. Code style issues will be fixed in another issues
Automatically closed - issue fixed for 2 weeks with no activity.