You are here

public function OfficeHoursItemListInterface::isOpen in Office Hours 8

Determines if the Entity is Open or Closed.

Parameters

int $time:

Return value

bool Indicator whether the entity is Open or Closed at the given time.

1 method overrides OfficeHoursItemListInterface::isOpen()
OfficeHoursItemList::isOpen in src/Plugin/Field/FieldType/OfficeHoursItemList.php
Determines if the Entity is Open or Closed.

File

src/Plugin/Field/FieldType/OfficeHoursItemListInterface.php, line 39

Class

OfficeHoursItemListInterface
Implements ItemListInterface for OfficeHours.

Namespace

Drupal\office_hours\Plugin\Field\FieldType

Code

public function isOpen($time = NULL);