You are here

public function BlazyManagerInterface::attach in Blazy 8.2

Same name and namespace in other branches
  1. 7 src/BlazyManagerInterface.php \Drupal\blazy\BlazyManagerInterface::attach()

Returns array of needed assets suitable for #attached property.

Parameters

array $attach: The settings which determine what library to attach.

Return value

array The supported libraries.

1 method overrides BlazyManagerInterface::attach()
BlazyManagerBase::attach in src/BlazyManagerBase.php
Returns array of needed assets suitable for #attached property.

File

src/BlazyManagerInterface.php, line 19

Class

BlazyManagerInterface
Defines re-usable services and functions for blazy plugins.

Namespace

Drupal\blazy

Code

public function attach(array $attach = []);