I know how get User entity changed time ($user->getChangedTime()
).
Node has the same value ($node->changed
), but I need to get this changed time from a Paragraph
.
When I try this method $paragraph->getChangedTime()
(the value changed
do not exists) i got this:
Error: Call to undefined method Drupal\paragraphs\Entity\Paragraph::getChangedTime() ...
I have this field in my User entity, and I need to know when this field is changed. Is there any way to achieve that?