You are here

public function SubscriptionWidget::isHidden in Simplenews 8

Same name and namespace in other branches
  1. 8.2 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 55

Class

SubscriptionWidget
Plugin implementation of the 'simplenews_subscription_select' widget.

Namespace

Drupal\simplenews\Plugin\Field\FieldWidget

Code

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