You are here

abstract public function AssetInjectorBase::libraryInfo in Asset Injector 8.2

Same name and namespace in other branches
  1. 8 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()
AssetInjectorCss::libraryInfo in src/Entity/AssetInjectorCss.php
Gets the library array used in library_info_build.
AssetInjectorJs::libraryInfo in src/Entity/AssetInjectorJs.php
Gets the library array used in library_info_build.

File

src/Entity/AssetInjectorBase.php, line 86

Class

AssetInjectorBase
Class AssetInjectorBase: Base asset injector class.

Namespace

Drupal\asset_injector\Entity

Code

public abstract function libraryInfo();