You are here

protected function WebformSubmissionTrait::getWebformElement in Webform Views Integration 8.5

Retrieve webform element on which this handler is set up.

Return value

array Webform element on which this handler is set up

2 calls to WebformSubmissionTrait::getWebformElement()
WebformSubmissionEntityReferenceSelectFilter::getValueOptions in src/Plugin/views/filter/WebformSubmissionEntityReferenceSelectFilter.php
Child classes should be used to override this function and set the 'value options', unless 'options callback' is defined as a valid function or static public method to generate these values.
WebformSubmissionSelectFilter::getValueOptions in src/Plugin/views/filter/WebformSubmissionSelectFilter.php
Child classes should be used to override this function and set the 'value options', unless 'options callback' is defined as a valid function or static public method to generate these values.

File

src/Plugin/views/WebformSubmissionTrait.php, line 23

Class

WebformSubmissionTrait
Trait for webform submission views handlers.

Namespace

Drupal\webform_views\Plugin\views

Code

protected function getWebformElement() {
  return $this
    ->getWebform()
    ->getElementInitialized($this->definition['webform_submission_field']);
}