Version 1
[yaffs-website] / web / core / modules / views / src / Plugin / views / filter / Broken.php
diff --git a/web/core/modules/views/src/Plugin/views/filter/Broken.php b/web/core/modules/views/src/Plugin/views/filter/Broken.php
new file mode 100644 (file)
index 0000000..7b91ebd
--- /dev/null
@@ -0,0 +1,25 @@
+<?php
+
+namespace Drupal\views\Plugin\views\filter;
+
+use Drupal\views\Plugin\views\BrokenHandlerTrait;
+use Drupal\views\Plugin\views\display\DisplayPluginBase;
+use Drupal\views\ViewExecutable;
+
+/**
+ * A special handler to take the place of missing or broken handlers.
+ *
+ * @ingroup views_filter_handlers
+ *
+ * @ViewsFilter("broken")
+ */
+class Broken extends FilterPluginBase {
+  use BrokenHandlerTrait;
+
+  /**
+   * {@inheritdoc}
+   */
+  public function init(ViewExecutable $view, DisplayPluginBase $display, array &$options = NULL) {
+  }
+
+}