You are here

public function FieldBase::isRequired in Lightgallery 8

Returns if field is required.

Overrides FieldInterface::isRequired

File

src/Field/FieldBase.php, line 64

Class

FieldBase
Field base.

Namespace

Drupal\lightgallery\Field

Code

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