You are here

public function Lazy::getPlugins in Lazy-load 8.3

List of available Lazysizes plugins.

Return value

array Returns an array of all available lazysizes plugins.

Overrides LazyInterface::getPlugins

File

src/Lazy.php, line 92

Class

Lazy
Lazy-load service.

Namespace

Drupal\lazy

Code

public function getPlugins() : array {
  return [
    'artdirect' => 'artdirect/ls.artdirect',
    'aspectratio' => 'aspectratio/ls.aspectratio',
    'attrchange' => 'attrchange/ls.attrchange',
    'bgset' => 'bgset/ls.bgset',
    'blur-up' => 'blur-up/ls.blur-up',
    'custommedia' => 'custommedia/ls.custommedia',
    'fix-edge-h-descriptor' => 'fix-edge-h-descriptor/ls.fix-edge-h-descriptor',
    'fix-ios-sizes' => 'fix-ios-sizes/fix-ios-sizes',
    'include' => 'include/ls.include',
    'native-loading' => 'native-loading/ls.native-loading',
    'noscript' => 'noscript/ls.noscript',
    'object-fit' => 'object-fit/ls.object-fit',
    'optimumx' => 'optimumx/ls.optimumx',
    'parent-fit' => 'parent-fit/ls.parent-fit',
    'print' => 'print/ls.print',
    'progressive' => 'progressive/ls.progressive',
    'respimg' => 'respimg/ls.respimg',
    'rias' => 'rias/ls.rias',
    'static-gecko-picture' => 'static-gecko-picture/ls.static-gecko-picture',
    'twitter' => 'twitter/ls.twitter',
    'unload' => 'unload/ls.unload',
    'unveilhooks' => 'unveilhooks/ls.unveilhooks',
    'video-embed' => 'video-embed/ls.video-embed',
  ];
}