- Issue created by @Yuri
- Status changed to Needs review
almost 2 years ago 1:54pm 1 March 2023 - ๐ฎ๐ณIndia Meeni_Dhobale
I added the patch for the truncate the title as per the user given number.
Here I added the new field. - Status changed to RTBC
almost 2 years ago 6:55am 9 March 2023 - ๐ต๐ญPhilippines paraderojether
Hi @ Meeni_Dhobale
I applied patch #2 against Drupal core version 9.5.3 and it's working fine, I also check its functionality, and it's working as expected.
Please look at the screenshot attached.
Thank You.
- ๐ฎ๐ณIndia Meeni_Dhobale
Hi @paraderojether thank you so much for review my patch.
- Status changed to Needs work
7 months ago 1:47am 4 June 2024 - ๐ฆ๐บAustralia VladimirAus Brisbane, Australia
- Add
hook_update
to set the fault value - Add yml to
config/install
with default values.
- Add
- ๐ฎ๐ณIndia maithri shetty
Maithri Shetty โ made their first commit to this issueโs fork.
- Assigned to maithri shetty
- Issue was unassigned.
- ๐ฎ๐ณIndia manish-31
Patch #2 works as expected but it trims the label in the
hook_entity_presave()
once it is generated and resets the label. It should be done when label is generated insetLabel()
method inAutoEntityLabelManager
class.I am working on this, will be raising an MR for this soon.
- Merge request !28Issue #3344991: Setting to truncate the title field to a user defined number of characters. โ (Open) created by manish-31
- last update
6 months ago Composer error. Unable to continue. - last update
6 months ago Composer error. Unable to continue. - ๐ฎ๐ณIndia manish-31
I have added test for label length option.
Add hook_update to set the fault value
Add yml to config/install with default values.@VladimirAus Do we really need default values in yml under
config/install
as we are using dynamic config settings depending on the entity bundle. I am not sure how to implement this keeping this in NW.