You are here

public function LibraryAccessorTrait::getLibrary in Libraries API 8.3

Returns the library.

Return value

\Drupal\libraries\ExternalLibrary\LibraryInterface The library.

File

src/ExternalLibrary/Utility/LibraryAccessorTrait.php, line 23

Class

LibraryAccessorTrait
Provides a trait for classes giving access to a library.

Namespace

Drupal\libraries\ExternalLibrary\Utility

Code

public function getLibrary() {
  return $this->library;
}