You are here

public function SocialEventInvitesAccess::userInviteAccess in Open Social 10.3.x

Same name and namespace in other branches
  1. 8.9 modules/social_features/social_event/modules/social_event_invite/src/Access/SocialEventInvitesAccess.php \Drupal\social_event_invite\Access\SocialEventInvitesAccess::userInviteAccess()
  2. 10.0.x modules/social_features/social_event/modules/social_event_invite/src/Access/SocialEventInvitesAccess.php \Drupal\social_event_invite\Access\SocialEventInvitesAccess::userInviteAccess()
  3. 10.1.x modules/social_features/social_event/modules/social_event_invite/src/Access/SocialEventInvitesAccess.php \Drupal\social_event_invite\Access\SocialEventInvitesAccess::userInviteAccess()
  4. 10.2.x modules/social_features/social_event/modules/social_event_invite/src/Access/SocialEventInvitesAccess.php \Drupal\social_event_invite\Access\SocialEventInvitesAccess::userInviteAccess()

Custom access check for the user invite overview.

Return value

\Drupal\Core\Access\AccessResult Returns the result of the access helper.

See also

\Drupal\social_event_invite\SocialEventInviteAccessHelper::userInviteAccess()

File

modules/social_features/social_event/modules/social_event_invite/src/Access/SocialEventInvitesAccess.php, line 62

Class

SocialEventInvitesAccess
Class SocialEventInvitesAccess.

Namespace

Drupal\social_event_invite\Access

Code

public function userInviteAccess() {
  return $this->accessHelper
    ->userInviteAccess();
}