Elgg  Version master
Variables
default_access.php File Reference

Go to the source code of this file.

Variables

if(!elgg_get_config('allow_user_default_access')) $user = elgg_extract('entity', $vars, elgg_get_page_owner_entity())
 Provide a way of setting your default access. More...
 
 if (! $user instanceof \ElggUser)
 

Variable Documentation

◆ $user

if (!elgg_get_config( 'allow_user_default_access')) $user = elgg_extract('entity', $vars, elgg_get_page_owner_entity())

Provide a way of setting your default access.

@uses $vars['entity'] the user to set settings for

Definition at line 12 of file default_access.php.

◆ if

if(! $user instanceof \ElggUser) ( ! $user instanceof \  ElggUser)

Definition at line 13 of file default_access.php.