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'
File
- src/
Controller/ ReplicationRequeueInfoController.php, line 58
Class
Namespace
Drupal\deploy\ControllerCode
public function viewTitle($replication_id) {
$entity = $this
->entityTypeManager()
->getStorage('replication')
->load($replication_id);
return 'Deployment "' . $entity
->label() . '" has been requeued';
}