public function MessageController::__construct in Migrate Tools 8
Same name and namespace in other branches
- 8.5 src/Controller/MessageController.php \Drupal\migrate_tools\Controller\MessageController::__construct()
- 8.2 src/Controller/MessageController.php \Drupal\migrate_tools\Controller\MessageController::__construct()
- 8.3 src/Controller/MessageController.php \Drupal\migrate_tools\Controller\MessageController::__construct()
- 8.4 src/Controller/MessageController.php \Drupal\migrate_tools\Controller\MessageController::__construct()
Constructs a MessageController object.
Parameters
\Drupal\Core\Database\Connection $database: A database connection.
File
- src/
Controller/ MessageController.php, line 44 - Contains \Drupal\migrate_tools\Controller\MessageController.
Class
- MessageController
- Returns responses for migrate_tools message routes.
Namespace
Drupal\migrate_tools\ControllerCode
public function __construct(Connection $database) {
$this->database = $database;
}