public function WebformAddonsManager::getThirdPartySettings in Webform 6.x
Same name and namespace in other branches
- 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\webformCode
public function getThirdPartySettings() {
$projects = $this
->getProjects();
foreach ($projects as $project_name => $project) {
if (empty($project['third_party_settings'])) {
unset($projects[$project_name]);
}
}
return $projects;
}