public static function MigrationBase::displayMessage in Migrate 7.2
Same name and namespace in other branches
- 6.2 includes/base.inc \MigrationBase::displayMessage()
Output the given message appropriately (drush_print/drupal_set_message/etc.)
Parameters
string $message: The message to output.
int $level: Optional message severity as understood by drupal_set_message and drush_log (defaults to 'error').
25 calls to MigrationBase::displayMessage()
- DynamicMigration::__construct in includes/
migration.inc - General initialization of a Migration object.
- MigrateFieldMapping::arguments in includes/
field_mapping.inc - migrate_migrations in ./
migrate.module - Retrieve a list of all active migrations, ordered by dependencies. To be recognized, a class must be non-abstract, and derived from MigrationBase.
- Migration::addFieldMapping in includes/
migration.inc - Add a mapping for a destination field, specifying a source field and/or a default value.
- Migration::analyze in includes/
migration.inc - Perform an analysis operation - report on field values in the source.
File
- includes/
base.inc, line 719 - Defines the base class for migration processes.
Class
- MigrationBase
- The base class for all objects representing distinct steps in a migration process. Most commonly these will be Migration objects which actually import data from a source into a Drupal destination, but by deriving classes directly from MigrationBase…
Code
public static function displayMessage($message, $level = 'error') {
call_user_func(self::$displayFunction, $message, $level);
}