Allow alter sources overview table

Created on 3 October 2024, 4 months ago

Problem/Motivation

The Sources overview page gives a lot of useful information about translated content, but it's difficult to scale.
One of ways to improve was to override child classes of Drupal\tmgmt\SourcePluginUiBase. That solution works but makes code difficult to maintain.

Proposed resolution

Add event dispatchers for header and row rendering process. That will allow EventSubscribers manipulate them as needed.

API changes

  • Added SourceFormEvents::POST_HEADER_SET which is called after Source overview header is build
  • Added SourceFormEvents::POST_ROW_SET which is called after every Source overview row is build
📌 Task
Status

Active

Version

1.0

Component

Core

Created by

🇵🇱Poland relim

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024