function MigrateMessageController::__construct
Same name in other branches
- 11.x core/modules/migrate/src/Controller/MigrateMessageController.php \Drupal\migrate\Controller\MigrateMessageController::__construct()
Constructs a MigrateController.
Parameters
\Drupal\Core\Database\Connection $database: A database connection.
\Drupal\Core\Form\FormBuilderInterface $formBuilder: The form builder service.
\Drupal\migrate\Plugin\MigrationPluginManagerInterface $migrationPluginManager: The migration plugin manager.
File
-
core/
modules/ migrate/ src/ Controller/ MigrateMessageController.php, line 35
Class
- MigrateMessageController
- Provides controller methods for the Message form.
Namespace
Drupal\migrate\ControllerCode
public function __construct(Connection $database, FormBuilderInterface $formBuilder, MigrationPluginManagerInterface $migrationPluginManager) {
$this->formBuilder = $formBuilder;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.