Change record status: 
Project: 
Introduced in branch: 
10.3.x
Introduced in version: 
10.3.0
Description: 

When a class implements operators() on views, the class should now implement \Drupal\views\Plugin\views\filter\FilterOperatorsInterface.

Before:

class Foo extends FilterPluginBase {

  public function operators() {
    bar();
  }

}

After:

class Foo extends FilterPluginBase implements FilterOperatorsInterface {

  public function operators(): array {
    bar();
  }

}

Implementing operators() on views in a class without it implementing FilterOperatorsInterface is deprecated in 10.3.0 and will throw an exception from drupal 12.0.0.

Impacts: 
Module developers