Further modules included.
[yaffs-website] / web / modules / contrib / libraries / src / ExternalLibrary / Utility / LibraryIdAccessorTrait.php
1 <?php
2
3 namespace Drupal\libraries\ExternalLibrary\Utility;
4
5 /**
6  * Provides a trait for classes giving access to a library ID.
7  */
8 trait LibraryIdAccessorTrait {
9
10   /**
11    * The ID of the library.
12    *
13    * @var string
14    */
15   protected $libraryId;
16
17   /**
18    * Returns the ID of the library.
19    *
20    * @return string
21    *   The library ID.
22    */
23   public function getLibraryId() {
24     return $this->libraryId;
25   }
26
27 }