Regression: feed block titles are empty when migrated from D7

Created on 29 November 2017, about 7 years ago
Updated 7 September 2023, over 1 year ago

Ideally the aggregator's blocks' titles would be inherited from the title of the feed.
This matters less when creating a block manually because the author can just write a title.
However migrated blocks have no title at all.

This would probably do it:
On Drupal\aggregator\Plugin\Block\AggregatorFeedBlock

  public function label() {
    if ($feed = $this->feedStorage->load($this->configuration['feed'])) {
      return $feed->label();
    }
    return parent::label();
  }
πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024