You are here

function context_user_view in Context 7.3

Implementation of hook_user().

File

./context.core.inc, line 271

Code

function context_user_view($account, $view_mode) {
  if ($view_mode === 'full' && ($plugin = context_get_plugin('condition', 'user_page'))) {
    $plugin
      ->execute($account, 'view');
  }
}