You are here

public function FontViewsData::getViewsData in Open Social 8

Same name and namespace in other branches
  1. 8.9 modules/custom/social_font/src/Entity/FontViewsData.php \Drupal\social_font\Entity\FontViewsData::getViewsData()
  2. 8.2 modules/custom/social_font/src/Entity/FontViewsData.php \Drupal\social_font\Entity\FontViewsData::getViewsData()
  3. 8.3 modules/custom/social_font/src/Entity/FontViewsData.php \Drupal\social_font\Entity\FontViewsData::getViewsData()
  4. 8.4 modules/custom/social_font/src/Entity/FontViewsData.php \Drupal\social_font\Entity\FontViewsData::getViewsData()
  5. 8.5 modules/custom/social_font/src/Entity/FontViewsData.php \Drupal\social_font\Entity\FontViewsData::getViewsData()
  6. 8.6 modules/custom/social_font/src/Entity/FontViewsData.php \Drupal\social_font\Entity\FontViewsData::getViewsData()
  7. 8.7 modules/custom/social_font/src/Entity/FontViewsData.php \Drupal\social_font\Entity\FontViewsData::getViewsData()
  8. 8.8 modules/custom/social_font/src/Entity/FontViewsData.php \Drupal\social_font\Entity\FontViewsData::getViewsData()
  9. 10.3.x modules/custom/social_font/src/Entity/FontViewsData.php \Drupal\social_font\Entity\FontViewsData::getViewsData()
  10. 10.0.x modules/custom/social_font/src/Entity/FontViewsData.php \Drupal\social_font\Entity\FontViewsData::getViewsData()
  11. 10.1.x modules/custom/social_font/src/Entity/FontViewsData.php \Drupal\social_font\Entity\FontViewsData::getViewsData()
  12. 10.2.x modules/custom/social_font/src/Entity/FontViewsData.php \Drupal\social_font\Entity\FontViewsData::getViewsData()

Returns views data for the entity type.

Return value

array Views data in the format of hook_views_data().

Overrides EntityViewsData::getViewsData

File

modules/custom/social_font/src/Entity/FontViewsData.php, line 15

Class

FontViewsData
Provides Views data for Font entities.

Namespace

Drupal\social_font\Entity

Code

public function getViewsData() {
  $data = parent::getViewsData();

  // Additional information for Views integration, such as table joins, can be
  // put here.
  return $data;
}