public function AssetInjectorBase::libraryNameSuffix in Asset Injector 8
Same name and namespace in other branches
- 8.2 src/Entity/AssetInjectorBase.php \Drupal\asset_injector\Entity\AssetInjectorBase::libraryNameSuffix()
Get the library name suffix to append to module name.
Return value
bool|string Library name suffix for use in page attachments.
Overrides AssetInjectorInterface::libraryNameSuffix
See also
asset_injector_page_attachments()
asset_injector_library_info_build()
File
- src/
Entity/ AssetInjectorBase.php, line 114
Class
- AssetInjectorBase
- Class AssetInjectorBase: Base asset injector class.
Namespace
Drupal\asset_injector\EntityCode
public function libraryNameSuffix() {
$extension = $this
->extension();
return "{$extension}/{$this->id}";
}