You are here

public function UnitInterface::getUnitType in Booking and Availability Management Tools for Drupal 8

Returns the entity's UnitType entity.

Return value

\Drupal\bat_unit\UnitTypeInterface The UnitType entity.

Overrides EntityUnitTypeInterface::getUnitType

1 method overrides UnitInterface::getUnitType()
Unit::getUnitType in modules/bat_unit/src/Entity/Unit.php
Returns the entity's UnitType entity.

File

modules/bat_unit/src/UnitInterface.php, line 21
Contains \Drupal\bat_unit\UnitInterface.

Class

UnitInterface
Provides an interface for defining Unit entities.

Namespace

Drupal\bat_unit

Code

public function getUnitType();