You are here

UnitInterface.php in Booking and Availability Management Tools for Drupal 8

Namespace

Drupal\bat_unit

File

modules/bat_unit/src/UnitInterface.php
View source
<?php

/**
 * @file
 * Contains \Drupal\bat_unit\UnitInterface.
 */
namespace Drupal\bat_unit;

use Drupal\Core\Entity\ContentEntityInterface;
use Drupal\Core\Entity\EntityChangedInterface;
use Drupal\user\EntityOwnerInterface;

/**
 * Provides an interface for defining Unit entities.
 *
 * @ingroup bat
 */
interface UnitInterface extends ContentEntityInterface, EntityChangedInterface, EntityOwnerInterface, EntityUnitTypeInterface {
  public function getUnitType();
  public function getUnitTypeId();
  public function setUnitTypeId($utid);
  public function setUnitType(UnitTypeInterface $unit_type);

}

Interfaces

Namesort descending Description
UnitInterface Provides an interface for defining Unit entities.