You are here

protected function FieldPreload::setDescription in Lightgallery 8

Sets description.

Overrides FieldBase::setDescription

File

src/Field/FieldPreload.php, line 50

Class

FieldPreload
Field pre load.

Namespace

Drupal\lightgallery\Field

Code

protected function setDescription() {
  return 'number of preload slides. will exicute only after the current slide is fully loaded. ' . 'ex:// you clicked on 4th image and if preload = 1 then 3rd slide and 5th slide will be loaded in the background after the 4th slide is fully loaded. ' . 'If preload is 2 then 2nd 3rd 5th 6th slides will be preloaded.';
}