You are here

class ViewsData in Lightning Workflow 8.3

Same name and namespace in other branches
  1. 8 src/ViewsData.php \Drupal\lightning_workflow\ViewsData
  2. 8.2 src/ViewsData.php \Drupal\lightning_workflow\ViewsData

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!

Hierarchy

Expanded class hierarchy of ViewsData

1 string reference to 'ViewsData'
lightning_workflow.services.yml in ./lightning_workflow.services.yml
lightning_workflow.services.yml
1 service uses ViewsData
lightning_workflow.views_data in ./lightning_workflow.services.yml
\Drupal\lightning_workflow\ViewsData

File

src/ViewsData.php, line 13

Namespace

Drupal\lightning_workflow
View source
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 [];
  }

}

Members

Namesort descending Modifiers Type Description Overrides
ViewsData::getAll public function Returns all relevant data for Views.