Issue #3076302: Set Label runs two times on node creation
3 unresolved threads
Merge request reports
Activity
added 1 commit
added 1 commit
added 1 commit
- 9cab9259 - Revert core_version_requirement, fix for patching.
added 1 commit
- a84a49b0 - Allow displaying auto-generated label on insert.
added 7 commits
-
a84a49b0...f6a66c94 - 6 commits from branch
project:8.x-3.x
- bf1fd2b2 - Issue #3076302 by Demma10, euk, VladimirAus, charlie1volley, DeaOm, Suresh...
-
a84a49b0...f6a66c94 - 6 commits from branch
added 5 commits
- 4f2776c5 - Issue #3076302 by Demma10, euk, charlie1volley, DeaOm, VladimirAus, Suresh...
- 279f244b - Issue #3076302 by Demma10, euk, charlie1volley, DeaOm, VladimirAus, Suresh...
- 46ae65c4 - Fixed applying auto label when entity created and title should be preserved...
- 02e6b79a - Lowered module weight so label is generated before other modules, in case...
- 396aefc3 - Allow displaying auto-generated label on insert.
Toggle commit listadded 1 commit
- 65ae88fa - Change "new_entity_action" to "new_content_behavior" to synchronize it with label
264 264 ], 265 265 ]; 266 266 267 $newActionOptions = [ 268 AutoEntityLabelManager::BEFORE_SAVE => $this->t('Create label before first save'), 269 AutoEntityLabelManager::AFTER_SAVE => $this->t('Create label after first save'), 270 ]; 271 $newActionDescriptions = [ 272 AutoEntityLabelManager::BEFORE_SAVE => [ 273 '#description' => $this->t('Create the label before saving the content. This option is faster but does not support all tokens (ie the id token).'), 264 264 ], 265 265 ]; 266 266 267 $newActionOptions = [ 268 AutoEntityLabelManager::BEFORE_SAVE => $this->t('Create label before first save'), 269 AutoEntityLabelManager::AFTER_SAVE => $this->t('Create label after first save'), 270 ]; 271 $newActionDescriptions = [ 272 AutoEntityLabelManager::BEFORE_SAVE => [ 273 '#description' => $this->t('Create the label before saving the content. This option is faster but does not support all tokens (ie the id token).'), 274 ], 275 AutoEntityLabelManager::AFTER_SAVE => [ 276 '#description' => $this->t('Create the label after saving the content. All tokens are supported however the content will be saved twice. This may interfere with other modules.'), 269 AutoEntityLabelManager::AFTER_SAVE => $this->t('Create label after first save'), 270 ]; 271 $newActionDescriptions = [ 272 AutoEntityLabelManager::BEFORE_SAVE => [ 273 '#description' => $this->t('Create the label before saving the content. This option is faster but does not support all tokens (ie the id token).'), 274 ], 275 AutoEntityLabelManager::AFTER_SAVE => [ 276 '#description' => $this->t('Create the label after saving the content. All tokens are supported however the content will be saved twice. This may interfere with other modules.'), 277 ], 278 ]; 279 280 $form['auto_entitylabel']['new_content_behavior'] = [ 281 '#type' => 'radios', 282 '#title' => $this->t('New content behavior'), 283 '#description' => $this->t('Select when to create the automatic label for new content of type %type', ['%type' => $this->entityBundle]), 284 '#default_value' => $config->get('new_content_behavior') ?: 0, changed this line in version 13 of the diff
Please register or sign in to reply