src/Core/Logic/Access/Backend/UserGuard.php
function GrantAddContentToLayoutArea(Area $area)
    {
        $result = $this->Grant(BackendAction::Create(), $area);
        if (!$result->ToBool())
        {
            return $result;
        }
        return $this->GrantAddContentToLayout($area->GetLayout());
    }
function GrantAddContentToLayoutArea(Area $area)
    {
        $result = $this->Grant(BackendAction::Create(), $area);
        if (!$result->ToBool())
        {
            return $result;
        }
        return $this->GrantAddContentToLayout($area->GetLayout());
    }
function GrantAddContentToLayoutArea ( Area $ area ) { $ result = $ this -> Grant ( BackendAction :: Create ( ) , $ area ) ; if ( ! $ result -> ToBool ( ) ) { return $ result ; } return $ this -> GrantAddContentToLayout ( $ area -> GetLayout ( ) ) ; }
Grant evaluation for adding content to layout area
@param Area $area
@return GrantResult
Grant evaluation for adding content to layout area