public static function WebformVariantAccess::checkVariantSettingsAccess in Webform 6.x
Same name and namespace in other branches
- 8.5 src/Access/WebformVariantAccess.php \Drupal\webform\Access\WebformVariantAccess::checkVariantSettingsAccess()
Check whether the webform variant settings is enabled.
Parameters
\Drupal\webform\WebformInterface $webform: A webform.
Return value
\Drupal\Core\Access\AccessResultInterface The access result.
1 string reference to 'WebformVariantAccess::checkVariantSettingsAccess'
File
- src/
Access/ WebformVariantAccess.php, line 22
Class
- WebformVariantAccess
- Defines the custom access control variant for the webform variants.
Namespace
Drupal\webform\AccessCode
public static function checkVariantSettingsAccess(WebformInterface $webform) {
return static::checkVariantAccess($webform);
}