public function canEdit($user_guid = 0) { $entity = $this->getEntity(); return _elgg_services()->userCapabilities->canEditAnnotation($entity, $user_guid, $this); }