You are here

public function YamlFormAddonsManager::getThirdPartySettings in YAML Form 8

Get add-on projects that support third party settings.

Return value

array An associative array containing add-on projects that support third party settings.

Overrides YamlFormAddonsManagerInterface::getThirdPartySettings

File

src/YamlFormAddonsManager.php, line 54

Class

YamlFormAddonsManager
Form add-ons manager.

Namespace

Drupal\yamlform

Code

public function getThirdPartySettings() {
  $projects = $this->projects;
  foreach ($projects as $project_name => $project) {
    if (empty($project['third_party_settings'])) {
      unset($projects[$project_name]);
    }
  }
  return $projects;
}