You are here

public function UnitType::setStatus in Booking and Availability Management Tools for Drupal 8

File

modules/bat_unit/src/Entity/UnitType.php, line 122
Contains \Drupal\bat_unit\Entity\UnitType.

Class

UnitType
Defines the Unit type entity.

Namespace

Drupal\bat_unit\Entity

Code

public function setStatus($status) {
  $this
    ->set('status', $status);
  return $this;
}