public function EntityPagerSetup::setEntity in Entity Pager 7
Set Entity.
Store the entity object. e.g. $node or $user etc..
Parameters
object $entity: Set the entity object.
1 call to EntityPagerSetup::setEntity()
- EntityPagerSetup::establishEntity in includes/
EntityPagerSetup.inc - Establish Entity.
File
- includes/
EntityPagerSetup.inc, line 97 - General setup base Class for Entity Pager module.
Class
- EntityPagerSetup
- Class EntityPagerSetup.
Code
public function setEntity($entity) {
$this->entity = $entity;
}