You are here

protected function FieldThumbnail::setIsRequired in Lightgallery 8

Sets required flag.

Overrides FieldBase::setIsRequired

File

src/Field/FieldThumbnail.php, line 22

Class

FieldThumbnail
Field thumbnail.

Namespace

Drupal\lightgallery\Field

Code

protected function setIsRequired() {
  return TRUE;
}