You are here

public function WebformVariantInterface::isApplicable in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/Plugin/WebformVariantInterface.php \Drupal\webform\Plugin\WebformVariantInterface::isApplicable()

Determine if this variant is applicable to the webform.

Parameters

\Drupal\webform\WebformInterface $webform: A webform.

Return value

bool TRUE if this variant is applicable to the webform.

1 method overrides WebformVariantInterface::isApplicable()
WebformVariantBase::isApplicable in src/Plugin/WebformVariantBase.php
Determine if this variant is applicable to the webform.

File

src/Plugin/WebformVariantInterface.php, line 217

Class

WebformVariantInterface
Defines the interface for webform variants.

Namespace

Drupal\webform\Plugin

Code

public function isApplicable(WebformInterface $webform);