Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Documented the "labels" option of DateIntervalType #7400

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

Closed
wants to merge 2 commits into from

Conversation

javiereguiluz
Copy link
Member

This fixes #7368.

The labels displayed for each of the elements of this type. The default values are::

'labels' => array(
'invert' => 'form.trans.invert',
Copy link
Contributor

@HeahDude HeahDude Jan 24, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Default options values are null, so default labels are humanized child names, "Invert", "Years", ...

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@HeahDude thanks for explaining the error. Hopefully I've fixed it in my other commit.

@HeahDude
Copy link
Contributor

Thank you @javiereguiluz for documenting it!

👍

Status: Reviewed

@xabbuh
Copy link
Member

xabbuh commented Jan 31, 2017

Thank you Javier.

@xabbuh xabbuh closed this in c8ee93c Jan 31, 2017
xabbuh added a commit that referenced this pull request Jan 31, 2017
@javiereguiluz javiereguiluz deleted the fix_7368 branch May 24, 2018 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Form] Document the new labels of DateIntervalType
4 participants