protected function FieldBase::setIsRequired in Lightgallery 8
Sets required flag.
1 call to FieldBase::setIsRequired()
- FieldBase::__construct in src/
Field/ FieldBase.php
2 methods override FieldBase::setIsRequired()
- FieldImage::setIsRequired in src/
Field/ FieldImage.php - Sets required flag.
- FieldThumbnail::setIsRequired in src/
Field/ FieldThumbnail.php - Sets required flag.
File
- src/
Field/ FieldBase.php, line 106
Class
- FieldBase
- Field base.
Namespace
Drupal\lightgallery\FieldCode
protected function setIsRequired() {
return FALSE;
}