diff --git a/core/modules/aggregator/lib/Drupal/aggregator/Form/SettingsForm.php b/core/modules/aggregator/lib/Drupal/aggregator/Form/SettingsForm.php index e7156d8..806dc89 100644 --- a/core/modules/aggregator/lib/Drupal/aggregator/Form/SettingsForm.php +++ b/core/modules/aggregator/lib/Drupal/aggregator/Form/SettingsForm.php @@ -45,7 +45,7 @@ class SettingsForm extends SystemConfigFormBase { ); /** - * The instanciated plugin instances. + * The instantiated plugin instances. * * @var array */ diff --git a/core/modules/aggregator/lib/Drupal/aggregator/Plugin/aggregator/fetcher/DefaultFetcher.php b/core/modules/aggregator/lib/Drupal/aggregator/Plugin/aggregator/fetcher/DefaultFetcher.php index ec6e568..423ed27 100644 --- a/core/modules/aggregator/lib/Drupal/aggregator/Plugin/aggregator/fetcher/DefaultFetcher.php +++ b/core/modules/aggregator/lib/Drupal/aggregator/Plugin/aggregator/fetcher/DefaultFetcher.php @@ -33,7 +33,7 @@ class DefaultFetcher implements FetcherInterface { * The HTTP client to fetch the feed data with. * * @var \Guzzle\Http\Client - */ + */ protected $httpClient; /** @@ -49,6 +49,7 @@ public static function create(ContainerInterface $container, array $configuratio public function __construct(array $configuration, $plugin_id, array $plugin_definition, Client $http_client) { $this->httpClient = $http_client; } + /** * {@inheritdoc} */ diff --git a/core/modules/aggregator/lib/Drupal/aggregator/Plugin/aggregator/processor/DefaultProcessor.php b/core/modules/aggregator/lib/Drupal/aggregator/Plugin/aggregator/processor/DefaultProcessor.php index 7f6e1d1..b527beb 100644 --- a/core/modules/aggregator/lib/Drupal/aggregator/Plugin/aggregator/processor/DefaultProcessor.php +++ b/core/modules/aggregator/lib/Drupal/aggregator/Plugin/aggregator/processor/DefaultProcessor.php @@ -111,7 +111,7 @@ public function buildForm(array $form, array &$form_state) { * {@inheritdoc} */ public function submitForm(array &$form, array &$form_state) { - $config = config('aggregator.settings'); + $config = $this->configFactory->get('aggregator.settings'); $config->set('items.expire', $form_state['values']['aggregator_clear']) ->set('items.teaser_length', $form_state['values']['aggregator_teaser_length']) ->set('source.list_max', $form_state['values']['aggregator_summary_items']) @@ -186,7 +186,7 @@ public function remove(Feed $feed) { * {@inheritdoc} */ public function postProcess(Feed $feed) { - $aggregator_clear = config('aggregator.settings')->get('items.expire'); + $aggregator_clear = $this->configFactory->get('aggregator.settings')->get('items.expire'); if ($aggregator_clear != AGGREGATOR_CLEAR_NEVER) { // Remove all items that are older than flush item timer.