Drupal 8  8.0.2
MigrateNodeTest Class Reference
Inheritance diagram for MigrateNodeTest:

Public Member Functions

 testNode ()
 
- Public Member Functions inherited from MigrateTestBase
 display ($message, $type= 'status')
 
 startCollectingMessages ()
 
 stopCollectingMessages ()
 

Static Public Attributes

static $modules
 
- Static Public Attributes inherited from MigrateDrupalTestBase
static $modules = array('system', 'user', 'field', 'migrate_drupal', 'options', 'file')
 
- Static Public Attributes inherited from MigrateTestBase
static $modules = array('migrate')
 

Protected Member Functions

 setUp ()
 
 assertRevision ($id, $title, $uid, $log, $timestamp)
 
- Protected Member Functions inherited from MigrateDrupal7TestBase
 setUp ()
 
- Protected Member Functions inherited from MigrateDrupalTestBase
 setUp ()
 
 loadFixture ($path)
 
 installMigrations ($version)
 
- Protected Member Functions inherited from MigrateTestBase
 setUp ()
 
 tearDown ()
 
 prepareMigrations (array $id_mappings)
 
 executeMigration ($migration)
 
 executeMigrations (array $ids)
 

Additional Inherited Members

- Protected Attributes inherited from MigrateTestBase
 $collectMessages = FALSE
 
 $migrateMessages
 
 $migration
 
 $sourceDatabase
 

Detailed Description

Tests node migration.

node

Member Function Documentation

assertRevision (   $id,
  $title,
  $uid,
  $log,
  $timestamp 
)
protected

Asserts various aspects of a node revision.

Parameters
int$idThe revision ID.
string$titleThe expected title.
int$uidThe revision author ID.
string$logThe revision log message.
int$timestampThe revision's time stamp.

References Drupal\entityManager().

Referenced by MigrateNodeTest\testNode().

Here is the call graph for this function:

Here is the caller graph for this function:

setUp ( )
protected

{}

References MigrateTestBase\executeMigrations().

Here is the call graph for this function:

testNode ( )

Test node migration from Drupal 7 to 8.

Test node migration from Drupal 6 to 8.

References MigrateNodeTest\assertRevision(), and Entity\load().

Here is the call graph for this function:

Field Documentation

$modules
static
Initial value:
= array(
'comment',
'datetime',
'filter',
'image',
'link',
'node',
'taxonomy',
'telephone',
'text',
)

The documentation for this class was generated from the following file: