You are here

protected function FieldBase::setDefaultValue in Lightgallery 8

Sets default value.

1 call to FieldBase::setDefaultValue()
FieldBase::__construct in src/Field/FieldBase.php
14 methods override FieldBase::setDefaultValue()
FieldCurrentPagerPosition::setDefaultValue in src/Field/FieldCurrentPagerPosition.php
Sets default value.
FieldGalleryId::setDefaultValue in src/Field/FieldGalleryId.php
Sets default value.
FieldImage::setDefaultValue in src/Field/FieldImage.php
Sets default value.
FieldLightgalleryImageStyle::setDefaultValue in src/Field/FieldLightgalleryImageStyle.php
Sets default value.
FieldMode::setDefaultValue in src/Field/FieldMode.php
Sets default value.

... See full list

File

src/Field/FieldBase.php, line 113

Class

FieldBase
Field base.

Namespace

Drupal\lightgallery\Field

Code

protected function setDefaultValue() {
  return TRUE;
}