You are here

public function GProfileTypeController::save in Group 7

Save a group member profile type.

Overrides EntityAPIControllerExportable::save

See also

EntityAPIController::save()

File

modules/gprofile/classes/gprofile_type.controller.inc, line 62
Defines the Entity API CRUD class for group member profile types.

Class

GProfileTypeController
Controller for group member profile type entities.

Code

public function save($gprofile_type, DatabaseTransaction $transaction = NULL) {

  // Add Internationalization module support.
  if (module_exists('i18n_string')) {
    i18n_string_object_update('gprofile_type', $gprofile_type);
  }
  return parent::save($gprofile_type, $transaction);
}