You are here

public function EntityPager::setDefaults in Entity Pager 7

Set the default values for Entity Pager.

2 calls to EntityPager::setDefaults()
EntityPager::__construct in includes/EntityPager.inc
The constuctor for EntityPager class.
EntityPagerSetup::__construct in includes/EntityPagerSetup.inc
Setup Entity Pager with minimum values to work with.

File

includes/EntityPager.inc, line 43
General setup base Class for Entity Pager module.

Class

EntityPager
Class EntityPager.

Code

public function setDefaults() {
  $this->default = array(
    'link_next' => 'next >',
    'link_prev' => '< prev',
    'link_all_url' => '<front>',
    'link_all_text' => 'Home',
    'display_count' => TRUE,
    'log_performance' => TRUE,
  );
}