public function AboutName::resolve in Open Social 10.3.x
Returns the community about name.
Parameters
\Drupal\Core\Config\ImmutableConfig $community_about: The community about.
Return value
string The community name.
File
- modules/
social_features/ social_branding/ src/ Plugin/ GraphQL/ DataProducer/ AboutName.php, line 37
Class
- AboutName
- Get the community about name.
Namespace
Drupal\social_branding\Plugin\GraphQL\DataProducerCode
public function resolve(ImmutableConfig $community_about) : string {
return $community_about
->get('name');
}