You are here

public static function WebformDateHelper::getIntervalOptionsFlattened in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/Utility/WebformDateHelper.php \Drupal\webform\Utility\WebformDateHelper::getIntervalOptionsFlattened()

Get interval options used by submission limits.

Return value

array An associative array of interval options.

1 call to WebformDateHelper::getIntervalOptionsFlattened()
WebformDateHelper::getIntervalText in src/Utility/WebformDateHelper.php
Get interval text.

File

src/Utility/WebformDateHelper.php, line 135

Class

WebformDateHelper
Helper class webform date helper methods.

Namespace

Drupal\webform\Utility

Code

public static function getIntervalOptionsFlattened() {
  self::initIntervalOptions();
  return self::$intervalOptionsFlattened;
}