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