You are here

protected function AmazonSes::setConfig in Amazon SES 2.0.x

Set the config object.

Parameters

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

Return value

$this

File

src/Plugin/Mail/AmazonSes.php, line 65

Class

AmazonSes
Amazon SES mail system plugin.

Namespace

Drupal\amazon_ses\Plugin\Mail

Code

protected function setConfig(ConfigFactoryInterface $config_factory) {
  $this->config = $config_factory
    ->get('amazon_ses.settings');
  return $this;
}