Pure Import

Categories

Component ID

2160193

Component name

Pure Import

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

370

Component created

Component changed

Component body

Pure Import

Pure Import is a development package for developers to do very quick CRUD operations on Drupal. The module doesn't do anything on it's own.

The problem

Sometimes you need very quick CRUD operations in Drupal, such as:

  • Creating a new content
  • Setting a field or field collection
  • Or entity related operations in general

When you do a content migration with thousands or millions of items into a complex content type you need this speed.

Proposed solution

The module provides a couple of handy functions to do essential entity CRUD operations, such as:

  • creating a new node
  • setting a new field
  • updating a new field
  • creating and attaching a new field collection

Depending on the complexity of the content type you can achieve ~2000 times of performance increase (no joke, srsly).

Warning

The module doesn't use the entity or the field api (not even Drupal). It works in most cases because Drupal uses a certain structure. It's always suggested to test every single operation you intend to do with this module. Also, because of the non-Drupal approach, you might miss some benefits the first time you import your content: tokens, auto node title, caching, rules, etc.

Use for migration

The module contains a simple Drush migration runner facility.

It's a developer module in development, use with proper care.

[[Documentation is coming soon! I promise.]]