You are here

PartyUser.php in Party 8.2

Namespace

Drupal\party

File

lib/Drupal/party/PartyUser.php
View source
<?php

/**
 * @file
 * Definition of Drupal\party\Plugin\Core\Entity\Party.
 */
namespace Drupal\party;

use Drupal\user\Plugin\Core\Entity;

/**
 * Defines the Party class to extend users to work as an anonymous user API.
 */
class PartyUser extends User {

  /**
   * The party representing this user.
   *
   * @Party $party
   */
  public $party;

}

Classes

Namesort descending Description
PartyUser Defines the Party class to extend users to work as an anonymous user API.