You are here

protected function FieldImage::setIsRequired in Lightgallery 8

Sets required flag.

Overrides FieldBase::setIsRequired

File

src/Field/FieldImage.php, line 22

Class

FieldImage
Field image.

Namespace

Drupal\lightgallery\Field

Code

protected function setIsRequired() {
  return TRUE;
}