-
Notifications
You must be signed in to change notification settings - Fork 446
[FEATURE] Use properties for configuration of Extbase attributes #6317
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
|
||
| .. versionchanged:: 14.0 | ||
| Passing a configuration array to the FileUpload attribute has been deprecated. | ||
| Configuration must be provided via named attribute arguments. See |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Named arguments are actually not a hard requirement – #[Validate('NotEmpty')] (positional) is equal to #[Validate(validator: 'NotEmpty')] (named). Could we just drop "named" or replace it with something that has less technical impact, e.g. "single attributes"?
|
|
||
| .. versionchanged:: 14.0 | ||
| Passing a configuration array to the FileUpload attribute has been deprecated. | ||
| Configuration must be provided via named attribute arguments. See |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here
| a custom message as string. | ||
| .. versionchanged:: 14.0 | ||
| Passing a configuration array to the FileUpload attribute has been deprecated. | ||
| Configuration must be provided via named attribute arguments. See |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here
| With TYPO3 v14, passing a configuration array as the first argument to validation | ||
| attributes (for example :php:`#[Validate([ ... ])]`) has been deprecated | ||
| (:ref:`Deprecation #97559 <changelog:deprecation-97559-1760453281>`). | ||
| A new syntax using named attribute arguments was introduced with TYPO3 v14. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here
|
|
||
| .. versionchanged:: 14.0 | ||
| Passing a configuration array to the FileUpload attribute has been deprecated. | ||
| Configuration must be provided via named attribute arguments. See |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here
|
|
||
| .. versionchanged:: 14.0 | ||
| Passing a configuration array to the FileUpload attribute has been deprecated. | ||
| Configuration must be provided via named attribute arguments. See |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here
|
|
||
| .. versionchanged:: 14.0 | ||
| Passing a configuration array to the FileUpload attribute has been deprecated. | ||
| Configuration must be provided via named attribute arguments. See |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here
| With TYPO3 v14, passing a configuration array as the first argument to Extbase | ||
| attributes (for example :php:`#[FileUpload([ ... ])]`) has been deprecated | ||
| (:ref:`Deprecation #97559 <changelog:deprecation-97559-1760453281>`). | ||
| A new property-based configuration syntax using named attribute arguments was |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here
|
|
||
| .. versionchanged:: 14.0 | ||
| Passing a configuration array to the FileUpload attribute has been deprecated. | ||
| Configuration must be provided via named attribute arguments. See |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here
|
|
||
| .. versionchanged:: 14.0 | ||
| Passing a configuration array to the FileUpload attribute has been deprecated. | ||
| Configuration must be provided via named attribute arguments. See |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here
Resolves: TYPO3-Documentation/Changelog-To-Doc#1476
Releases: main