You are here

protected function FieldGalleryId::setDefaultValue in Lightgallery 8

Sets default value.

Overrides FieldBase::setDefaultValue

File

src/Field/FieldGalleryId.php, line 15

Class

FieldGalleryId
Field gallery id.

Namespace

Drupal\lightgallery\Field

Code

protected function setDefaultValue() {
  return 1;
}