public function FillPdfFormViewsData::getViewsData in FillPDF 8.4
Same name and namespace in other branches
- 5.0.x src/FillPdfFormViewsData.php \Drupal\fillpdf\FillPdfFormViewsData::getViewsData()
Returns views data for the entity type.
Return value
array Views data in the format of hook_views_data().
Overrides EntityViewsData::getViewsData
File
- src/
FillPdfFormViewsData.php, line 17
Class
- FillPdfFormViewsData
- Class FillPdfFormViewsData.
Namespace
Drupal\fillpdfCode
public function getViewsData() {
$data = parent::getViewsData();
$data['fillpdf_forms']['table']['group'] = $data['fillpdf_forms']['table']['base']['title'] = $this
->t('FillPDF forms');
$data['fillpdf_forms']['table']['base']['help'] = $this
->t('FillPDF forms are uploaded on the FillPDF administration page and are used by the FillPDF module.');
return $data;
}