You are here

public function DateRecurPartGrid::isAllowEverything in Recurring Dates Field 8.2

Same name and namespace in other branches
  1. 3.x src/DateRecurPartGrid.php \Drupal\date_recur\DateRecurPartGrid::isAllowEverything()
  2. 3.0.x src/DateRecurPartGrid.php \Drupal\date_recur\DateRecurPartGrid::isAllowEverything()
  3. 3.1.x src/DateRecurPartGrid.php \Drupal\date_recur\DateRecurPartGrid::isAllowEverything()

Determines whether all parts and frequencies are supported.

2 calls to DateRecurPartGrid::isAllowEverything()
DateRecurPartGrid::isFrequencyAllowed in src/DateRecurPartGrid.php
Determines whether a frequency and at least one part is supported.
DateRecurPartGrid::isPartAllowed in src/DateRecurPartGrid.php
Determines whether a part is allowed.

File

src/DateRecurPartGrid.php, line 39

Class

DateRecurPartGrid
Frequency/part support grid.

Namespace

Drupal\date_recur

Code

public function isAllowEverything() : bool {
  return count($this->allowedParts) === 0;
}