You are here

public function WebformAddonsManager::getThirdPartySettings in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/WebformAddonsManager.php \Drupal\webform\WebformAddonsManager::getThirdPartySettings()

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 WebformAddonsManagerInterface::getThirdPartySettings

File

src/WebformAddonsManager.php, line 49

Class

WebformAddonsManager
Webform add-ons manager.

Namespace

Drupal\webform

Code

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