public function WebformElementViewsInterface::getViewsData in Webform Views Integration 8.5
Generate views data related to a given element of a given webform.
Parameters
array $element: Webform element whose views data is queried
\Drupal\webform\WebformInterface $webform: Webform within which the element is found
Return value
array Views data array that corresponds to the provided webform element
1 method overrides WebformElementViewsInterface::getViewsData()
- WebformElementViewsAbstract::getViewsData in src/
WebformElementViews/ WebformElementViewsAbstract.php - Generate views data related to a given element of a given webform.
File
- src/
WebformElementViews/ WebformElementViewsInterface.php, line 24
Class
- WebformElementViewsInterface
- Interface of webform element views handler.
Namespace
Drupal\webform_views\WebformElementViewsCode
public function getViewsData($element, WebformInterface $webform);