Property | Type | Description | |
---|---|---|---|
$contentDimensionCombinator | |||
$contextFactory | Neos\ContentRepository\Domain\Service\ContextFactoryInterface | ||
$entityManager | Doctrine\Common\Persistence\ObjectManager | .. | |
$nodeDataRepository | |||
$nodeFactory | |||
$nodeTypeManager | |||
$output | |||
$persistenceManager | Neos\Flow\Persistence\PersistenceManagerInterface | ||
$pluginConfigurations | array | ||
$propertyMapper | |||
$workspaceRepository |
Method | Description | |
---|---|---|
addMissingDefaultValues ( string $workspaceName, boolean $dryRun, |
Performs checks for unset properties that has default values and sets them if necessary. | |
addMissingDefaultValuesByNodeType ( |
Adds missing default values for the given node type | |
fixNodesWithInconsistentIdentifier ( string $workspaceName, boolean $dryRun ) : void | Detect and fix nodes in non-live workspaces whose identifier does not match their corresponding node in the live workspace. | |
getSubCommandDescription ( string $controllerCommandName ) : string | Returns a piece of description for the specific task the plugin solves for the specified command | |
getSubCommandShortDescription ( string $controllerCommandName ) : string | Returns a short description | |
invokeSubCommand ( string $controllerCommandName, |
A method which runs the task implemented by the plugin for the given command | |
removeBrokenEntityReferences ( string $workspaceName, boolean $dryRun ) : void | Remove broken entity references | |
removeNodesWithInvalidDimensions ( string $workspaceName, boolean $dryRun ) : void | Remove nodes with invalid dimension values | |
removeNodesWithInvalidWorkspace ( string $workspaceName, boolean $dryRun ) : void | Remove nodes with invalid workspace | |
removeUndefinedProperties ( string $workspaceName, boolean $dryRun, |
Performs checks for orphan nodes removes them if found. |
Method | Description | |
---|---|---|
askBeforeExecutingTask ( string $question, Closure $task ) : void | ||
collectNodesWithInvalidDimensions ( string $workspaceName, array $allowedDimensionCombinations ) : array | Collects all nodes of the given node type which have dimension values not fitting to the current dimension configuration. | |
collectNodesWithInvalidWorkspace ( ) : array | Collects all nodes of the given node type which refer to an invalid workspace configuration. | |
createChildNodesByNodeType ( |
Create missing child nodes for the given node type | |
createContext ( string $workspaceName, array $dimensions ) : |
Creates a content context for given workspace | |
createMissingChildNodes ( string $workspaceName, boolean $dryRun, |
Performs checks for missing child nodes according to the node's auto-create configuration and creates them if necessary. | |
fixShadowNodesInWorkspace ( |
Collects all nodes with missing shadow nodes | |
getNodeDataByNodeTypeAndWorkspace ( string $nodeType, string $workspaceName ) : array |
Retrieves all NodeData objects of a certain node type inside a given workspace. | |
removeAbstractAndUndefinedNodes ( string $workspaceName, boolean $dryRun ) : void | Performs checks for nodes with abstract or undefined node types and removes them if found. | |
removeDisallowedChildNodes ( string $workspaceName, boolean $dryRun ) : void | Performs checks for disallowed child nodes according to the node's auto-create configuration and constraints and removes them if found. | |
removeNode ( string $nodeIdentifier, string $dimensionsHash ) | Removes the specified node (exactly that one) | |
removeNodeAndChildNodesInWorkspaceByPath ( string $nodePath, string $workspaceName ) | Removes all nodes with a specific path and their children in the given workspace. | |
removeOrphanNodes ( string $workspaceName, boolean $dryRun ) : void | Performs checks for orphan nodes removes them if found. | |
reorderChildNodes ( string $workspaceName, boolean $dryRun, |
Reorder child nodes according to the current position configuration of child nodes. | |
reorderChildNodesByNodeType ( string $workspaceName, boolean $dryRun, |
Reorder child nodes for the given node type | |
repairShadowNodes ( string $workspaceName, boolean $dryRun, |
Repair nodes whose shadow nodes are missing |
protected collectNodesWithInvalidWorkspace ( ) : array | ||
return | array |
protected createContext ( string $workspaceName, array $dimensions ) : |
||
$workspaceName | string | |
$dimensions | array | |
return |
protected fixShadowNodesInWorkspace ( |
||
$workspace | ||
$dryRun | boolean | |
$nodeType | ||
return | array |
protected getNodeDataByNodeTypeAndWorkspace ( string $nodeType, string $workspaceName ) : array |
||
$nodeType | string | |
$workspaceName | string | |
return | array |
public static getSubCommandDescription ( string $controllerCommandName ) : string | ||
$controllerCommandName | string | Name of the command in question, for example "repair" |
return | string | A piece of text to be included in the overall description of the node:xy command |
public static getSubCommandShortDescription ( string $controllerCommandName ) : string | ||
$controllerCommandName | string | Name of the command in question, for example "repair" |
return | string | A piece of text to be included in the overall description of the node:xy command |
public invokeSubCommand ( string $controllerCommandName, |
||
$controllerCommandName | string | Name of the command in question, for example "repair" |
$output | An instance of ConsoleOutput which can be used for output or dialogues | |
$nodeType | Only handle this node type (if specified) | |
$workspaceName | string | Only handle this workspace (if specified) |
$dryRun | boolean | If TRUE, don't do any changes, just simulate what you would do |
$cleanup | boolean | If FALSE, cleanup tasks are skipped |
$skip | string | Skip the given check or checks (comma separated) |
$only | string | Only execute the given check or checks (comma separated) |
return | void |
protected removeNode ( string $nodeIdentifier, string $dimensionsHash ) | ||
$nodeIdentifier | string | |
$dimensionsHash | string |
protected removeNodeAndChildNodesInWorkspaceByPath ( string $nodePath, string $workspaceName ) | ||
$nodePath | string | |
$workspaceName | string |
protected ContentDimensionCombinator,Neos\ContentRepository\Domain\Service $contentDimensionCombinator | ||
return |
protected ContextFactoryInterface,Neos\ContentRepository\Domain\Service $contextFactory | ||
return | Neos\ContentRepository\Domain\Service\ContextFactoryInterface |
protected ObjectManager,Doctrine\Common\Persistence $entityManager | ||
return | Doctrine\Common\Persistence\ObjectManager |
protected NodeDataRepository,Neos\ContentRepository\Domain\Repository $nodeDataRepository | ||
return |
protected NodeFactory,Neos\ContentRepository\Domain\Factory $nodeFactory | ||
return |
protected NodeTypeManager,Neos\ContentRepository\Domain\Service $nodeTypeManager | ||
return |
protected ConsoleOutput,Neos\Flow\Cli $output | ||
return |
protected PersistenceManagerInterface,Neos\Flow\Persistence $persistenceManager | ||
return | Neos\Flow\Persistence\PersistenceManagerInterface |
protected PropertyMapper,Neos\Flow\Property $propertyMapper | ||
return |