You are here

protected function VisibilityChecker::getConditionList in Image Lazyloader 8

Gets the condition list.

Return value

\Drupal\Core\Condition\ConditionPluginCollection The condition list.

File

src/VisibilityChecker.php, line 61

Class

VisibilityChecker
Class VisibilityChecker.

Namespace

Drupal\lazyloader

Code

protected function getConditionList() {
  return new ConditionPluginCollection($this->conditionManager, $this->configFactory
    ->get('lazyloader.exclude')
    ->get('visibility'));
}