You are here

public function ReplicationRequeueInfoController::viewTitle in Deploy - Content Staging 8

Renders replication fail info.

Parameters

int $replication_id:

Return value

string Array of page elements to render. Array of page elements to render.

1 string reference to 'ReplicationRequeueInfoController::viewTitle'
deploy.routing.yml in ./deploy.routing.yml
deploy.routing.yml

File

src/Controller/ReplicationRequeueInfoController.php, line 58

Class

ReplicationRequeueInfoController

Namespace

Drupal\deploy\Controller

Code

public function viewTitle($replication_id) {
  $entity = $this
    ->entityTypeManager()
    ->getStorage('replication')
    ->load($replication_id);
  return 'Deployment "' . $entity
    ->label() . '" has been requeued';
}