public function MessageController::title in Migrate Tools 8.5
Same name and namespace in other branches
- 8.4 src/Controller/MessageController.php \Drupal\migrate_tools\Controller\MessageController::title()
Get the title of the page.
Parameters
\Drupal\migrate_plus\Entity\MigrationGroupInterface $migration_group: The migration group.
\Drupal\migrate_plus\Entity\MigrationInterface $migration: The $migration.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The translated title.
1 string reference to 'MessageController::title'
File
- src/
Controller/ MessageController.php, line 158
Class
- MessageController
- Returns responses for migrate_tools message routes.
Namespace
Drupal\migrate_tools\ControllerCode
public function title(MigrationGroupInterface $migration_group, MigratePlusMigrationInterface $migration) {
return $this
->t('Messages of %migration', [
'%migration' => $migration
->label(),
]);
}