public function VemMigrate::__construct in Video Embed Field 8.2
VemMigrate constructor.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $configFactory: The config factory service.
\Drupal\Core\Entity\EntityLastInstalledSchemaRepositoryInterface $entityLastInstalledSchemaRepository: The last installed schema repository service.
\Drupal\Core\Database\Connection $connection: The database connection.
\Drupal\Core\KeyValueStore\KeyValueFactoryInterface $keyValueFactory: The key value store.
\Drupal\Core\Entity\EntityFieldManagerInterface $entityFieldManager: The entity field manager service.
File
- modules/
video_embed_media/ modules/ vem_migrate_oembed/ src/ VemMigrate.php, line 70
Class
- VemMigrate
- Class VemMigrate.
Namespace
Drupal\vem_migrate_oembedCode
public function __construct(ConfigFactoryInterface $configFactory, EntityLastInstalledSchemaRepositoryInterface $entityLastInstalledSchemaRepository, Connection $connection, KeyValueFactoryInterface $keyValueFactory, EntityFieldManagerInterface $entityFieldManager) {
$this->configFactory = $configFactory;
$this->lastInstalledSchemaRepository = $entityLastInstalledSchemaRepository;
$this->database = $connection;
$this->keyValue = $keyValueFactory;
$this->entityFieldManager = $entityFieldManager;
}