You are here

public function ServiceResource::getDefaultSettings in Services 8.4

Same name and namespace in other branches
  1. 9.0.x src/Entity/ServiceResource.php \Drupal\services\Entity\ServiceResource::getDefaultSettings()

Service default global settings.

Return value

\Drupal\Core\Config\Config A configuration object.

File

src/Entity/ServiceResource.php, line 208

Class

ServiceResource
Defines service resource entity.

Namespace

Drupal\services\Entity

Code

public function getDefaultSettings() {
  return $this
    ->getConfigManager()
    ->getConfigFactory()
    ->get('services.settings');
}