You are here

public function BlazyManagerInterface::attach in Blazy 7

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

Returns array of needed assets suitable for #attached property.

Return value

array Returns the required library array.

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 16

Class

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

Namespace

Drupal\blazy

Code

public function attach(array $attach);