You are here

public function SubscriptionWidget::isHidden in Simplenews 8.2

Same name and namespace in other branches
  1. 8 src/Plugin/Field/FieldWidget/SubscriptionWidget.php \Drupal\simplenews\Plugin\Field\FieldWidget\SubscriptionWidget::isHidden()
  2. 3.x src/Plugin/Field/FieldWidget/SubscriptionWidget.php \Drupal\simplenews\Plugin\Field\FieldWidget\SubscriptionWidget::isHidden()

Whether the widget is set to be hidden.

Return value

bool Whether the widget is hidden.

Overrides SubscriptionWidgetInterface::isHidden

1 call to SubscriptionWidget::isHidden()
SubscriptionWidget::formElement in src/Plugin/Field/FieldWidget/SubscriptionWidget.php
Returns the form for a single field widget.

File

src/Plugin/Field/FieldWidget/SubscriptionWidget.php, line 57

Class

SubscriptionWidget
Plugin implementation of the 'simplenews_subscription_select' widget.

Namespace

Drupal\simplenews\Plugin\Field\FieldWidget

Code

public function isHidden() {
  return $this->hidden;
}