Change record status: 
Project: 
Introduced in branch: 
11.4.x
Introduced in version: 
11.4.0
Description: 

The signature of CategorizingPluginManagerInterface:: getSortedDefinitions() and :: getGroupedDefinitions() implementations will require a $labelKey argument in Drupal 12. This is to align the interface to the current real usage.

The $labelKey argument indicates the label to use for sorting/grouping plugins.

public function getGroupedDefinitions(?array $definitions = NULL, string $label_key = 'label');
public function getSortedDefinitions(?array $definitions = NULL, string $label_key = 'label');
Impacts: 
Module developers