WebformEntityViewsData.php in Webform 8.5
File
src/WebformEntityViewsData.php
View source
<?php
namespace Drupal\webform;
use Drupal\views\EntityViewsData;
class WebformEntityViewsData extends EntityViewsData {
public function getViewsData() {
$data = parent::getViewsData();
$data['webform']['webform_bulk_form'] = [
'title' => $this
->t('Webform operations bulk form'),
'help' => $this
->t('Add a form element that lets you run operations on multiple webform.'),
'field' => [
'id' => 'webform_bulk_form',
],
];
return $data;
}
}