You are here

public function FieldBase::__construct in Lightgallery 8

File

src/Field/FieldBase.php, line 22

Class

FieldBase
Field base.

Namespace

Drupal\lightgallery\Field

Code

public function __construct() {
  $this->name = $this
    ->setName();
  $this->title = $this
    ->setTitle();
  $this->type = $this
    ->setType();
  $this->description = $this
    ->setDescription();
  $this->isRequired = $this
    ->setIsRequired();
  $this->group = $this
    ->setGroup();
  $this->defaultValue = $this
    ->setDefaultValue();
  $this->options = $this
    ->setOptions();
}