You are here

public function Migration::id in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/migrate/src/Plugin/Migration.php \Drupal\migrate\Plugin\Migration::id()

An alias for getPluginId() for backwards compatibility reasons.

Return value

string The plugin_id of the plugin instance.

Overrides MigrationInterface::id

See also

\Drupal\migrate\Plugin\MigrationInterface::getPluginId()

6 calls to Migration::id()
Migration::clearInterruptionResult in core/modules/migrate/src/Plugin/Migration.php
Clears the result to return upon interruption.
Migration::getInterruptionResult in core/modules/migrate/src/Plugin/Migration.php
Get the result to return upon interruption.
Migration::getMigrationDependencies in core/modules/migrate/src/Plugin/Migration.php
Get the dependencies for this migration.
Migration::getStatus in core/modules/migrate/src/Plugin/Migration.php
Get the current migration status.
Migration::interruptMigration in core/modules/migrate/src/Plugin/Migration.php
Signal that the migration should be interrupted with the specified result code.

... See full list

1 method overrides Migration::id()
TestMigrationMock::id in core/modules/migrate/tests/src/Unit/MigrationPluginManagerTest.php
An alias for getPluginId() for backwards compatibility reasons.

File

core/modules/migrate/src/Plugin/Migration.php, line 305

Class

Migration
Defines the Migration plugin.

Namespace

Drupal\migrate\Plugin

Code

public function id() {
  return $this->pluginId;
}