protected function WebformSubmissionLimitBlock::getIntervalText in Webform 6.x
Same name and namespace in other branches
- 8.5 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 377
Class
- WebformSubmissionLimitBlock
- Provides a 'Webform submission limit' block.
Namespace
Drupal\webform\Plugin\BlockCode
protected function getIntervalText() {
return WebformDateHelper::getIntervalText($this
->getInterval());
}