function MigrateIdMapInterface::setMessage

Same name in other branches
  1. 8.9.x core/modules/migrate/src/Plugin/MigrateIdMapInterface.php \Drupal\migrate\Plugin\MigrateIdMapInterface::setMessage()
  2. 10 core/modules/migrate/src/Plugin/MigrateIdMapInterface.php \Drupal\migrate\Plugin\MigrateIdMapInterface::setMessage()
  3. 11.x core/modules/migrate/src/Plugin/MigrateIdMapInterface.php \Drupal\migrate\Plugin\MigrateIdMapInterface::setMessage()

Sets the migrate message service.

Parameters

\Drupal\migrate\MigrateMessageInterface $message: The migrate message service.

2 methods override MigrateIdMapInterface::setMessage()
NullIdMap::setMessage in core/modules/migrate/src/Plugin/migrate/id_map/NullIdMap.php
Sets the migrate message service.
Sql::setMessage in core/modules/migrate/src/Plugin/migrate/id_map/Sql.php
Sets the migrate message service.

File

core/modules/migrate/src/Plugin/MigrateIdMapInterface.php, line 301

Class

MigrateIdMapInterface
Defines an interface for migrate ID mappings.

Namespace

Drupal\migrate\Plugin

Code

public function setMessage(MigrateMessageInterface $message);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.