[Hackday][2.7] Resolves #12681. Added deprecation trigger for ClassBasedInterface.
minor #12740 [Hackday][2.7] Resolves #12681. Added deprecation trigger for ClassBased... (amansilla)

This PR was merged into the 2.7 branch.

Discussion
----------

[Hackday][2.7] Resolves #12681. Added deprecation trigger for ClassBased...

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

Commits
-------

8bbbefe [Hackday][2.7] Resolves #12681. Added deprecation trigger for ClassBasedInterface.