diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/BrokenHandlerTrait.php b/core/modules/views/lib/Drupal/views/Plugin/views/BrokenHandlerTrait.php index 0b84c81..e1623f7 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/BrokenHandlerTrait.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/BrokenHandlerTrait.php @@ -7,15 +7,15 @@ namespace Drupal\views\Plugin\views; -use Drupal\views\ResultRow; - /** * A Trait for Views broken handlers. */ trait BrokenHandlerTrait { /** - * {@inheritdoc} + * Returns this handlers name in the UI. + * + * @see \Drupal\views\Plugin\views\PluginBase::defineOptions(). */ public function adminLabel($short = FALSE) { $args = array( @@ -25,28 +25,35 @@ public function adminLabel($short = FALSE) { } /** - * {@inheritdoc} + * The option definition for this handler. + * + * @see \Drupal\views\Plugin\views\PluginBase::defineOptions(). */ public function defineOptions() { return array(); } /** - * {@inheritdoc} + * Ensure the main table for this handler is in the query. This is used + * a lot. + * + * @see \Drupal\views\Plugin\views\HandlerBase::ensureMyTable(). */ public function ensureMyTable() { // No table to ensure. } /** - * {@inheritdoc} + * Modify the views query. */ public function query($group_by = FALSE) { /* No query to run */ } /** - * {@inheritdoc} + * Provides a form to edit options for this plugin. + * + * @see \Drupal\views\Plugin\views\PluginBase::defineOptions(). */ public function buildOptionsForm(&$form, &$form_state) { if ($this->isOptional()) { @@ -83,7 +90,11 @@ public function buildOptionsForm(&$form, &$form_state) { } /** - * {@inheritdoc} + * Determines if the handler is considered 'broken'. + * + * This means it's a placeholder used when a handler can't be found. + * + * @see \Drupal\views\Plugin\views\HandlerBase::broken(). */ public function broken() { return TRUE;