You are here

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

PlatformBranding constructor.

Parameters

array $configuration: A configuration array containing information about the plugin instance.

string $plugin_id: The plugin_id for the plugin instance.

array $plugin_definition: The plugin implementation definition.

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.

File

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

Class

PlatformBranding
Gets the platform branding information.

Namespace

Drupal\social_branding\Plugin\GraphQL\DataProducer

Code

public function __construct(array $configuration, string $plugin_id, array $plugin_definition, ConfigFactoryInterface $config_factory) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->config = $config_factory;
}