public function OpignoActivity::getCurrentRevision in Opigno module 8
Same name and namespace in other branches
- 3.x src/Entity/OpignoActivity.php \Drupal\opigno_module\Entity\OpignoActivity::getCurrentRevision()
Gets the current revision vid.
Return value
string Vid.
Overrides OpignoActivityInterface::getCurrentRevision
File
- src/
Entity/ OpignoActivity.php, line 501
Class
- OpignoActivity
- Defines the Activity entity.
Namespace
Drupal\opigno_module\EntityCode
public function getCurrentRevision() {
return $this
->get('vid')->value;
}