public function RedhenRelationRoleEntityController::save in RedHen CRM 7
Saves an relation role.
Parameters
RedHenRelationRole $relation_role: The full relation role object to save.
Return value
RedHenRelationRole The saved relation role object.
Overrides EntityAPIControllerExportable::save
File
- modules/
redhen_relation/ lib/ redhen_relation_role.controller.inc, line 22 - The controller for the relation role entity containing the CRUD operations.
Class
- RedhenRelationRoleEntityController
- The controller class for contact types contains methods for CRUD operations. The load method is inherited from the default controller.
Code
public function save($relation_role, DatabaseTransaction $transaction = NULL) {
parent::save($relation_role);
return $relation_role;
}