public static function WebformSubmissionLimitBlock::getTokenAjaxSettings in Webform 6.x
Same name and namespace in other branches
- 8.5 src/Plugin/Block/WebformSubmissionLimitBlock.php \Drupal\webform\Plugin\Block\WebformSubmissionLimitBlock::getTokenAjaxSettings()
Get token refresh Ajax settings.
Return value
array Array containing #ajax settings.
1 call to WebformSubmissionLimitBlock::getTokenAjaxSettings()
- WebformSubmissionLimitBlock::blockForm in src/
Plugin/ Block/ WebformSubmissionLimitBlock.php
File
- src/
Plugin/ Block/ WebformSubmissionLimitBlock.php, line 487
Class
- WebformSubmissionLimitBlock
- Provides a 'Webform submission limit' block.
Namespace
Drupal\webform\Plugin\BlockCode
public static function getTokenAjaxSettings() {
return [
'callback' => [
get_called_class(),
'tokenAjaxCallback',
],
'wrapper' => 'webform-submission-limit-block-tokens',
'progress' => [
'type' => 'fullscreen',
],
];
}