RestoreController
class RestoreController extends AbstractModuleController (View source)
| internal | for communication within the Workspace UI only |
The Neos Restore module controller
Traits
A trait to add backend translation based on the backend users settings
Properties
| protected Service | $_localizationService | from BackendUserTranslationTrait | |
| protected UserService | $_userService | from BackendUserTranslationTrait | |
| protected array<string, mixed> | $moduleConfiguration | from AbstractModuleController | |
| protected | $defaultViewObjectName | ||
| protected NodeLabelGeneratorInterface | $nodeLabelGenerator | ||
| protected ContentRepositoryRegistry | $contentRepositoryRegistry | ||
| protected Context | $securityContext | ||
| protected UserService | $userService | ||
| protected Translator | $translator | ||
| protected TrashBin | $trashBin | ||
| protected ContentRepositoryAuthorizationService | $authorizationService | ||
| protected WorkspaceService | $workspaceService |
Methods
Set the locale according to the user settings
Use this method to set an alternative title than the module label
No description
Display a list of unpublished content
No description
No description
No description
No description
No description
No description
No description
No description
Details
protected void
initializeObject()
Set the locale according to the user settings
protected void
initializeAction()
No description
protected void
initializeView(ViewInterface $view)
No description
void
setTitle(string $title)
Use this method to set an alternative title than the module label
void
indexAction()
No description
protected
getErrorFlashMessage()
Display no flash message at all on errors.
void
showAction(WorkspaceName $workspaceName, string|null $sorting = null, int $page = 1, string $searchTerm = '')
Display a list of unpublished content
protected array
paginationRange(int $numberOfPages, int $currentPage)
No description
void
restoreNodeConfirmationAction(WorkspaceName $workspaceName, NodeAggregateId $nodeAggregateId)
No description
void
restoreNodeAction(WorkspaceName $workspaceName, NodeAggregateId $nodeAggregateId)
No description
protected void
restoreNodeAggregate(NodeAggregateId $nodeAggregateId, WorkspaceName $workspaceName, ContentRepository $contentRepository)
No description
protected DimensionSpacePointSet
requireDimensionSpacePointsTheNodeAggregateIsRemovedIn(NodeAggregateId $nodeAggregateId, WorkspaceName $workspaceName, ContentRepository $contentRepository)
No description
protected void
requireWorkspaceToBeInSync(WorkspaceName $workspaceName, ContentRepository $contentRepository)
No description
protected array
gatherAdditionallyRestoredDescendants(NodeAggregateId $nodeAggregateId, array $descendants, ContentGraphInterface $contentGraph)
No description
protected RestorableNodes
gatherAdditionalAncestorsThatWillBeRestored(NodeAggregateId $nodeAggregateId, RestorableNodes $ancestors, ContentGraphInterface $contentGraph)
No description
protected string
getModuleLabel(string $id, array $arguments = [], mixed $quantity = null)
No description