3 namespace Drupal\libraries\ExternalLibrary\Utility;
6 * Provides a trait for classes giving access to a library.
8 trait LibraryAccessorTrait {
13 * @var \Drupal\libraries\ExternalLibrary\LibraryInterface
18 * Returns the library.
20 * @return \Drupal\libraries\ExternalLibrary\LibraryInterface
23 public function getLibrary() {
24 return $this->library;