Broken.php in Drupal 9
Same filename in this branch
- 9 core/lib/Drupal/Core/Block/Plugin/Block/Broken.php
- 9 core/lib/Drupal/Core/Entity/Plugin/EntityReferenceSelection/Broken.php
- 9 core/modules/views/src/Plugin/views/area/Broken.php
- 9 core/modules/views/src/Plugin/views/relationship/Broken.php
- 9 core/modules/views/src/Plugin/views/filter/Broken.php
- 9 core/modules/views/src/Plugin/views/sort/Broken.php
- 9 core/modules/views/src/Plugin/views/argument/Broken.php
- 9 core/modules/views/src/Plugin/views/field/Broken.php
Same filename and directory in other branches
Namespace
Drupal\views\Plugin\views\areaFile
core/modules/views/src/Plugin/views/area/Broken.phpView source
<?php
namespace Drupal\views\Plugin\views\area;
use Drupal\views\Plugin\views\BrokenHandlerTrait;
/**
* A special handler to take the place of missing or broken handlers.
*
* @ingroup views_area_handlers
*
* @ViewsArea("broken")
*/
class Broken extends AreaPluginBase {
use BrokenHandlerTrait;
/**
* {@inheritdoc}
*/
public function render($empty = FALSE) {
// Simply render nothing by returning an empty render array.
return [];
}
}