You are here

abstract public function AssetInjectorBase::libraryInfo in Asset Injector 8

Same name and namespace in other branches
  1. 8.2 src/Entity/AssetInjectorBase.php \Drupal\asset_injector\Entity\AssetInjectorBase::libraryInfo()

Gets the library array used in library_info_build.

Return value

array Library info array for this asset.

Overrides AssetInjectorInterface::libraryInfo

2 methods override AssetInjectorBase::libraryInfo()
CssInjector::libraryInfo in src/Entity/CssInjector.php
Gets the library array used in library_info_build.
JsInjector::libraryInfo in src/Entity/JsInjector.php
Gets the library array used in library_info_build.

File

src/Entity/AssetInjectorBase.php, line 122

Class

AssetInjectorBase
Class AssetInjectorBase: Base asset injector class.

Namespace

Drupal\asset_injector\Entity

Code

public abstract function libraryInfo();