You are here

RegistrationType.php in Entity Registration 8.2

Same filename in this branch
  1. 8.2 src/RegistrationType.php
  2. 8.2 src/Plugin/Field/FieldFormatter/RegistrationType.php
Same filename and directory in other branches
  1. 8 src/RegistrationType.php

The class used for model type entities

File

src/RegistrationType.php
View source
<?php

namespace Drupal\registration;


/**
 * @file
 * The class used for model type entities
 */
class RegistrationType extends Entity {
  public $name;
  public $label;
  public $locked;
  public $default_state;
  public $data;
  public $registrant_entity_type;
  public $registrant_bundle;
  public $registrant_email_property;
  public function __construct($values = array()) {
    parent::__construct($values, 'registration_type');
  }

}

Classes

Namesort descending Description
RegistrationType @file The class used for model type entities