public function PanelizerEntityUser::entity_save in Panelizer 7.3
Same name and namespace in other branches
- 7.2 plugins/entity/PanelizerEntityUser.class.php \PanelizerEntityUser::entity_save()
Implement the save function for the entity.
Overrides PanelizerEntityInterface::entity_save
File
- plugins/
entity/ PanelizerEntityUser.class.php, line 35 - Class for the Panelizer taxonomy term entity plugin.
Class
- PanelizerEntityUser
- Panelizer Entity user plugin class.
Code
public function entity_save($entity) {
// IMPORTANT NOTE: this can *only* update panelizer items!
user_save($entity, array(
'panelizer' => $entity->panelizer,
));
}