[Hackday][2.7] Added deprecation trigger

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | yes
| Tests pass?   | no
| Fixed tickets | #12608
| License       | MIT
| Doc PR        |