You are here

ProfileTypeInterface.php in Profile 2 8

Namespace

Drupal\profile

File

src/ProfileTypeInterface.php
View source
<?php

/**
 * @file
 * Contains \Drupal\profile\Entity\ProfileTypeInterface.
 */
namespace Drupal\profile;

use Drupal\Core\Config\Entity\ConfigEntityInterface;

/**
 * Provides an interface defining a profile type entity.
 */
interface ProfileTypeInterface extends ConfigEntityInterface {

  /**
   * Returns the label of the profile type.
   */
  public function getLabel();

  /**
   * Return the registration flag for allowing creation of profile type
   * at user registration.
   */
  public function getRegistration();

}

Interfaces

Namesort descending Description
ProfileTypeInterface Provides an interface defining a profile type entity.