Broken.php

Same filename in this branch
  1. 10 core/modules/views/src/Plugin/views/sort/Broken.php
  2. 10 core/modules/views/src/Plugin/views/field/Broken.php
  3. 10 core/modules/views/src/Plugin/views/relationship/Broken.php
  4. 10 core/modules/views/src/Plugin/views/filter/Broken.php
  5. 10 core/modules/views/src/Plugin/views/argument/Broken.php
  6. 10 core/lib/Drupal/Core/Entity/Plugin/EntityReferenceSelection/Broken.php
  7. 10 core/lib/Drupal/Core/Block/Plugin/Block/Broken.php
Same filename in other branches
  1. 9 core/modules/views/src/Plugin/views/sort/Broken.php
  2. 9 core/modules/views/src/Plugin/views/field/Broken.php
  3. 9 core/modules/views/src/Plugin/views/relationship/Broken.php
  4. 9 core/modules/views/src/Plugin/views/filter/Broken.php
  5. 9 core/modules/views/src/Plugin/views/area/Broken.php
  6. 9 core/modules/views/src/Plugin/views/argument/Broken.php
  7. 9 core/lib/Drupal/Core/Entity/Plugin/EntityReferenceSelection/Broken.php
  8. 9 core/lib/Drupal/Core/Block/Plugin/Block/Broken.php
  9. 8.9.x core/modules/views/src/Plugin/views/sort/Broken.php
  10. 8.9.x core/modules/views/src/Plugin/views/field/Broken.php
  11. 8.9.x core/modules/views/src/Plugin/views/relationship/Broken.php
  12. 8.9.x core/modules/views/src/Plugin/views/filter/Broken.php
  13. 8.9.x core/modules/views/src/Plugin/views/area/Broken.php
  14. 8.9.x core/modules/views/src/Plugin/views/argument/Broken.php
  15. 8.9.x core/lib/Drupal/Core/Entity/Plugin/EntityReferenceSelection/Broken.php
  16. 8.9.x core/lib/Drupal/Core/Block/Plugin/Block/Broken.php
  17. 11.x core/modules/views/src/Plugin/views/sort/Broken.php
  18. 11.x core/modules/views/src/Plugin/views/field/Broken.php
  19. 11.x core/modules/views/src/Plugin/views/relationship/Broken.php
  20. 11.x core/modules/views/src/Plugin/views/filter/Broken.php
  21. 11.x core/modules/views/src/Plugin/views/area/Broken.php
  22. 11.x core/modules/views/src/Plugin/views/argument/Broken.php
  23. 11.x core/lib/Drupal/Core/Entity/Plugin/EntityReferenceSelection/Broken.php
  24. 11.x core/lib/Drupal/Core/Block/Plugin/Block/Broken.php

Namespace

Drupal\views\Plugin\views\area

File

core/modules/views/src/Plugin/views/area/Broken.php

View source
<?php

namespace Drupal\views\Plugin\views\area;

use Drupal\views\Attribute\ViewsArea;
use Drupal\views\Plugin\views\BrokenHandlerTrait;

/**
 * A special handler to take the place of missing or broken handlers.
 *
 * @ingroup views_area_handlers
 */
class Broken extends AreaPluginBase {
    use BrokenHandlerTrait;
    
    /**
     * {@inheritdoc}
     */
    public function render($empty = FALSE) {
        // Simply render nothing by returning an empty render array.
        return [];
    }

}

Classes

Title Deprecated Summary
Broken A special handler to take the place of missing or broken handlers.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.