You are here

protected function Fields::getComponents in Webform CiviCRM Integration 8.5

1 call to Fields::getComponents()
Fields::wf_crm_get_fields in src/Fields.php

File

src/Fields.php, line 42

Class

Fields

Namespace

Drupal\webform_civicrm

Code

protected function getComponents() : array {
  if (empty($this->components)) {
    $this->components = \Drupal::service('webform_civicrm.utils')
      ->wf_crm_get_civi_setting('enable_components');
  }
  return $this->components;
}