You are here

public function MessageController::title in Migrate Tools 8.4

Same name and namespace in other branches
  1. 8.5 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'
migrate_tools.routing.yml in ./migrate_tools.routing.yml
migrate_tools.routing.yml

File

src/Controller/MessageController.php, line 158

Class

MessageController
Returns responses for migrate_tools message routes.

Namespace

Drupal\migrate_tools\Controller

Code

public function title(MigrationGroupInterface $migration_group, MigratePlusMigrationInterface $migration) {
  return $this
    ->t('Messages of %migration', [
    '%migration' => $migration
      ->label(),
  ]);
}