You are here

function oauth2_server_oauth2_server_scope_insert in OAuth2 Server 7

Implements hook_oauth2_server_scope_insert().

i18n_string integration for oauth2_server_scope.

File

./oauth2_server.module, line 499
Provides OAuth2 server functionality.

Code

function oauth2_server_oauth2_server_scope_insert($scope) {
  if (module_exists('i18n_string')) {
    i18n_string_object_update('oauth2_server_scope', $scope);
  }
}