7bd6cdbd83ffd2afb30434c71548f5bd6f444ebe
[yaffs-website] / web / core / modules / views / src / Plugin / views / area / Broken.php
1 <?php
2
3 namespace Drupal\views\Plugin\views\area;
4
5 use Drupal\views\Plugin\views\BrokenHandlerTrait;
6
7 /**
8  * A special handler to take the place of missing or broken handlers.
9  *
10  * @ingroup views_area_handlers
11  *
12  * @ViewsArea("broken")
13  */
14 class Broken extends AreaPluginBase {
15   use BrokenHandlerTrait;
16
17   /**
18    * {@inheritdoc}
19    */
20   public function render($empty = FALSE) {
21     // Simply render nothing by returning an empty render array.
22     return [];
23   }
24
25 }