Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. NodeTranslationMigrateSubscriber.php

function NodeTranslationMigrateSubscriber::__construct

Constructs the NodeTranslationMigrateSubscriber.

Parameters

\Drupal\Core\KeyValueStore\KeyValueFactoryInterface $key_value: The key value factory.

\Drupal\Core\State\StateInterface $state: The state service.

File

core/modules/node/src/EventSubscriber/NodeTranslationMigrateSubscriber.php, line 52

Class

NodeTranslationMigrateSubscriber
Creates a key value collection for migrated node translation mappings.

Namespace

Drupal\node\EventSubscriber

Code

public function __construct(KeyValueFactoryInterface $key_value, StateInterface $state) {
    $this->keyValue = $key_value;
    $this->state = $state;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal