You are here

public function CommunityBranding::resolve in Open Social 10.3.x

Returns community branding information.

Return value

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

File

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

Class

CommunityBranding
Gets the community branding information.

Namespace

Drupal\social_branding\Plugin\GraphQL\DataProducer

Code

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