You are here

public function EntityUnitTypeInterface::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.

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

File

modules/bat_unit/src/EntityUnitTypeInterface.php, line 23
Contains \Drupal\bat_unit\EntityUnitTypeInterface.

Class

EntityUnitTypeInterface
Defines a common interface for entities that have a UnitType.

Namespace

Drupal\bat_unit

Code

public function getUnitType();