You are here

public function WebformVariantBase::label in Webform 8.5

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

Returns the webform variant label.

Return value

string The webform variant label.

Overrides WebformVariantInterface::label

1 call to WebformVariantBase::label()
OverrideWebformVariant::debug in src/Plugin/WebformVariant/OverrideWebformVariant.php
Display debugging information.

File

src/Plugin/WebformVariantBase.php, line 128

Class

WebformVariantBase
Provides a base class for a webform variant.

Namespace

Drupal\webform\Plugin

Code

public function label() {
  return $this
    ->getLabel();
}