protected function WebformSubmissionLimitBlock::getIntervalText in Webform 8.5
Same name and namespace in other branches
- 6.x src/Plugin/Block/WebformSubmissionLimitBlock.php \Drupal\webform\Plugin\Block\WebformSubmissionLimitBlock::getIntervalText()
Get submission limit interval text.
Return value
string The submission limit interval or FALSE if not submission limit is defined.
1 call to WebformSubmissionLimitBlock::getIntervalText()
- WebformSubmissionLimitBlock::replaceTokens in src/
Plugin/ Block/ WebformSubmissionLimitBlock.php - Replace tokens in text.
File
- src/
Plugin/ Block/ WebformSubmissionLimitBlock.php, line 409
Class
- WebformSubmissionLimitBlock
- Provides a 'Webform submission limit' block.
Namespace
Drupal\webform\Plugin\BlockCode
protected function getIntervalText() {
return WebformDateHelper::getIntervalText($this
->getInterval());
}