Show the real value of the priority in the event info table

Issue #3111899 on drupal.org by claudiu.cristea.

Problem/Motivation

As a developer, in order to create an event subscriber that runs with a certain priority (before and after other subscribers), when I visit the Events Info (/devel/events) page, I want to be able to see the real value of the priority for all listeners.

Proposed resolution

Instead of showing the sort index, which is useless, show the real priority value as is defined in the code or zero for listeners that are not declaring a priority explicitly.

Remaining tasks

None.

User interface changes

In the "Priority" columns, the user will see the real priority value as is defined in the code or zero for listeners that are not declaring a priority explicitly.

API changes

None.

Data model changes

None.

Release notes snippet

N/A