function BrokenHandlerTrait::broken

Same name in other branches
  1. 9 core/modules/views/src/Plugin/views/BrokenHandlerTrait.php \Drupal\views\Plugin\views\BrokenHandlerTrait::broken()
  2. 8.9.x core/modules/views/src/Plugin/views/BrokenHandlerTrait.php \Drupal\views\Plugin\views\BrokenHandlerTrait::broken()
  3. 10 core/modules/views/src/Plugin/views/BrokenHandlerTrait.php \Drupal\views\Plugin\views\BrokenHandlerTrait::broken()

Determines if the handler is considered 'broken'.

This means it's a placeholder used when a handler can't be found.

See also

\Drupal\views\Plugin\views\HandlerBase::broken()

File

core/modules/views/src/Plugin/views/BrokenHandlerTrait.php, line 88

Class

BrokenHandlerTrait
A Trait for Views broken handlers.

Namespace

Drupal\views\Plugin\views

Code

public function broken() {
    return TRUE;
}

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