You are here

ViewsData.php in Lightning Workflow 8.3

Same filename and directory in other branches
  1. 8 src/ViewsData.php
  2. 8.2 src/ViewsData.php

File

src/ViewsData.php
View source
<?php

namespace Drupal\lightning_workflow;


/**
 * Provides data to Views (i.e., via hook_views_data()).
 *
 * @internal
 *   This is an internal part of Lightning Workflow's integration with Views and
 *   may be changed or removed at any time. External code should not use or
 *   extend this class in any way!
 */
class ViewsData {

  /**
   * Returns all relevant data for Views.
   *
   * @return array
   *   The data exposed to Views, in the format expected by hook_views_data().
   */
  public function getAll() {
    return [];
  }

}

Classes

Namesort descending Description
ViewsData Provides data to Views (i.e., via hook_views_data()).