public function Bean::loadRevisions in Bean (for Drupal 7) 7
Load the revisions from the DB
File
- includes/
bean.core.inc, line 442 - Bean classes and plugin interface
Class
- Bean
- The Bean entity class
Code
public function loadRevisions() {
$this->revisions = db_select('bean_revision', 'br')
->condition('delta', $this
->identifier())
->fields('br')
->execute();
return $this;
}