Resolve #3398078 "Add a tab"
1 unresolved thread
1 unresolved thread
Closes #3398078
Merge request reports
Activity
Filter activity
added 2 commits
added 2 commits
added 1 commit
- 9352c2a3 - Test messages on node save and the new VG Wort tab
added 1 commit
- 6154ec3b - Remove all the autowire stuff so we're compatible with Drupal 9
- Resolved by Alex Pott
- Resolved by Alex Pott
- Resolved by Alex Pott
41 43 * @throws \Drupal\Core\Entity\EntityMalformedException 42 44 * Throw if the entity does not have a vgwort_counter_id field. 43 45 */ 44 public function entityToNewMessage(FieldableEntityInterface $entity): NewMessage { 45 if (!$entity->hasField('vgwort_counter_id') || $entity->vgwort_counter_id->isEmpty()) { 46 public function entityToNewMessage(FieldableEntityInterface $entity, bool $throw = TRUE): NewMessage { changed this line in version 21 of the diff
added 3 commits
- 7591de80 - @daniel.bosen review - remove unused class property
- 7f818c2c - @daniel.bosen review - remove unneeded variable
- d2e00ab9 - @daniel.bosen review - early return
added 1 commit
- 4bbe6712 - Change $throw to only being about author checking
Please register or sign in to reply