You are here

protected function Webform::getWebformVariantPluginManager in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/Entity/Webform.php \Drupal\webform\Entity\Webform::getWebformVariantPluginManager()

Returns the webform variant plugin manager.

Return value

\Drupal\Component\Plugin\PluginManagerInterface The webform variant plugin manager.

1 call to Webform::getWebformVariantPluginManager()
Webform::getVariants in src/Entity/Webform.php
Returns the webform variants for this webform.

File

src/Entity/Webform.php, line 2817

Class

Webform
Defines the webform entity.

Namespace

Drupal\webform\Entity

Code

protected function getWebformVariantPluginManager() {
  return \Drupal::service('plugin.manager.webform.variant');
}