Version 1
[yaffs-website] / web / core / modules / views / tests / modules / views_test_data / src / Plugin / views / display / DisplayNoAreaTest.php
diff --git a/web/core/modules/views/tests/modules/views_test_data/src/Plugin/views/display/DisplayNoAreaTest.php b/web/core/modules/views/tests/modules/views_test_data/src/Plugin/views/display/DisplayNoAreaTest.php
new file mode 100644 (file)
index 0000000..61881b4
--- /dev/null
@@ -0,0 +1,27 @@
+<?php
+
+namespace Drupal\views_test_data\Plugin\views\display;
+
+/**
+ * Defines a Display test plugin with areas disabled.
+ *
+ * @ViewsDisplay(
+ *   id = "display_no_area_test",
+ *   title = @Translation("Display test no area"),
+ *   help = @Translation("Defines a display test with areas disabled."),
+ *   theme = "views_view",
+ *   register_theme = FALSE,
+ *   contextual_links_locations = {"view"}
+ * )
+ */
+class DisplayNoAreaTest extends DisplayTest {
+
+  /**
+   * Whether the display allows area plugins.
+   *
+   * @var bool
+   *   TRUE if the display can use areas, or FALSE otherwise.
+   */
+  protected $usesAreas = FALSE;
+
+}