You are here

public function Bean::setDefault in Bean (for Drupal 7) 7

Set the revision as default

Return value

Bean

File

includes/bean.core.inc, line 269
Bean classes and plugin interface

Class

Bean
The Bean entity class

Code

public function setDefault() {
  $this->default_revision = TRUE;
  return $this;
}