You are here

public function PlatformBranding::resolve in Open Social 10.2.x

Returns platform branding information.

Return value

\Drupal\Core\Config\ImmutableConfig|null The platform branding configuration.

File

modules/social_features/social_branding/src/Plugin/GraphQL/DataProducer/PlatformBranding.php, line 67

Class

PlatformBranding
Gets the platform branding information.

Namespace

Drupal\social_branding\Plugin\GraphQL\DataProducer

Code

public function resolve() : ?ImmutableConfig {
  return $this->config
    ->get('system.theme');
}