Skip to content

Commit

Permalink
TASK: Rename DocumentTitleNodeCreationHandler
Browse files Browse the repository at this point in the history
  • Loading branch information
mhsdesign committed Feb 17, 2024
1 parent d996ea5 commit baf36ad
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,14 @@
/**
* Node creation handler that
*
* - sets the "title" property according to the incoming title from a creation dialog
* - sets the "uriPathSegment" property according to the specified title or node name
* - sets the "title" property according to the incoming title from a creation dialog
* - (actually obsolete with CreationDialogPropertiesCreationHandler)
*
* @internal you should not to interact with this factory directly. The node creation handle will already be configured under `nodeCreationHandlers`
* @implements ContentRepositoryServiceFactoryInterface<NodeCreationHandlerInterface>
*/
final class DocumentTitleNodeCreationHandlerFactory implements ContentRepositoryServiceFactoryInterface
final class UriPathSegmentNodeCreationHandlerFactory implements ContentRepositoryServiceFactoryInterface
{
/**
* @Flow\Inject
Expand Down
4 changes: 2 additions & 2 deletions Configuration/NodeTypes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
title: "ClientEval:node.properties.title"
options:
nodeCreationHandlers:
documentTitle:
factoryClassName: 'Neos\Neos\Ui\NodeCreationHandler\Factory\DocumentTitleNodeCreationHandlerFactory'
uriPathSegment:
factoryClassName: 'Neos\Neos\Ui\NodeCreationHandler\Factory\UriPathSegmentNodeCreationHandlerFactory'
creationDialogProperties:
factoryClassName: 'Neos\Neos\Ui\NodeCreationHandler\Factory\CreationDialogPropertiesCreationHandlerFactory'

Expand Down

0 comments on commit baf36ad

Please sign in to comment.