You are here

class ViewsData in Lightning Workflow 8

Same name and namespace in other branches
  1. 8.3 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()).

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 8

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.