protected function WebformSubmissionListBuilder::getCustomSetting in Webform 8.5
Same name and namespace in other branches
- 6.x src/WebformSubmissionListBuilder.php \Drupal\webform\WebformSubmissionListBuilder::getCustomSetting()
Get custom setting.
Parameters
string $name: The custom setting name.
mixed $default: Default custom setting value.
Return value
mixed The custom setting value.
1 call to WebformSubmissionListBuilder::getCustomSetting()
- WebformSubmissionListBuilder::__construct in src/
WebformSubmissionListBuilder.php - Constructs a new WebformSubmissionListBuilder object.
File
- src/
WebformSubmissionListBuilder.php, line 1449
Class
- WebformSubmissionListBuilder
- Provides a list controller for webform submission entity.
Namespace
Drupal\webformCode
protected function getCustomSetting($name, $default = NULL) {
/** @var WebformSubmissionStorageInterface $webform_submission_storage */
$webform_submission_storage = $this
->getStorage();
return $webform_submission_storage
->getCustomSetting($name, $default, $this->webform, $this->sourceEntity);
}