diff --git a/core/modules/views/src/Plugin/views/HandlerBase.php b/core/modules/views/src/Plugin/views/HandlerBase.php
index da2098c2df276322826bf49d8d15a7f207e12e48..b3503f44218bfa8b8ca992bcae9411c0722e8f35 100644
--- a/core/modules/views/src/Plugin/views/HandlerBase.php
+++ b/core/modules/views/src/Plugin/views/HandlerBase.php
@@ -398,8 +398,16 @@ public function hasExtraOptions() {
    *
    * @param array $option
    *   An array of options.
+   *
+   * @deprecated in drupal:11.2.0 and is removed from drupal:12.0.0.
+   *   This method is no longer used by Drupal core. There is no
+   *   replacement.
+   *
+   * @see https://www.drupal.org/node/3486781
    */
-  public function defineExtraOptions(&$option) {}
+  public function defineExtraOptions(&$option) {
+    @trigger_error('defineExtraOptions() is deprecated in drupal:11.2.0 and is removed from drupal:12.0.0. This method is no longer in use and should not be called. See https://www.drupal.org/node/3486781', E_USER_DEPRECATED);
+  }
 
   /**
    * Provide a form for setting options.