You are here

public function WebformVariantBase::isDisabled in Webform 8.5

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

Returns the webform variant disabled indicator.

Return value

bool TRUE if the webform variant is disabled.

Overrides WebformVariantInterface::isDisabled

File

src/Plugin/WebformVariantBase.php, line 275

Class

WebformVariantBase
Provides a base class for a webform variant.

Namespace

Drupal\webform\Plugin

Code

public function isDisabled() {
  return !$this
    ->isEnabled();
}